In this video, we'll convert plain jQuery code to an object literal module. It will still use jQuery, but the pattern will be much cleaner and easier to maintain.
Missed video #1? http://youtu.be/HkFlM73G-hk
Source code for this video:
This video will show how to take that messy jQuery code and clean it up into a self-encapsulated module that is easy to work with.
Modular JS #1 - Object Literal Pattern pt 1:
Modular JS #2 - Object Literal Pattern pt 2:
Modular JS #3 - Revealing Module Pattern: