Amanpreet Singh
(@apsdehal)
Has an event queue in which tasks to be executed are pushed
Single Threaded!
while(queue.waitForMessage()){ queue.processNextMessage(); }
Immediately Invoked Function Expression
Isn't it?
You get modular code + Lazy load
You have already seen this
Revealing Module
Object Literal Pattern
JavaScript Design Patterns
By Addy Osmani
What we know?
- Reads from right to left
- Later selectors override the prior ones
- More specific selectors override less specific ones
- More nested the selector less efficient it is
Ek Class, Ek Dushman
Use Grunt
Compile SASS to CSS
Divide CSS into related partials
Use the class together in the code
Thank You!
?
By Amanpreet Singh