I get all of the plugins code except for one line, and due to the way search engines work I cant actually search for my question.
The question is what in the hell is this:
(!function($) {/*....*/})(jQuery);
Why does it say !functions($)?? I'm guessing for the same effect of the $.noConflict()
but isn't that why we just use (function($) {/*...*/})(jQuery);
it just wraps the dollar sign to our function block. I am completely aware that I could be way off base here, I'm still intermediate in jQuery/js.
If someone could please enlighten me on the effect of the NOT operator before the function statement, i would greatly appreciate it.
Edit: It would appear that i overlooked bootstrap not having (!function($) ... )
but just being !function($)...
but you guys helped me in realizing it is just an alternative to ()