What's the name of this pattern please?
I'm planning to research it after finding out its name... however, if you like you are welcome to explain what it does.
(function($) {
//code
})(jQuery);
What's the name of this pattern please?
I'm planning to research it after finding out its name... however, if you like you are welcome to explain what it does.
(function($) {
//code
})(jQuery);
Are you referring to the self-executing anonymous function?
i.e. http://markdalgleish.com/2011/03/self-executing-anonymous-functions/