I'm not very familliar with jQuery and it's functions. Does anyone know what these declarations are doing? (Btw. they wrap the entire .js content)
(function ($) { 'use strict' ... })(jQuery);
(function () { 'use strict' ... })();
The second I guess, is a declaration of an anonymus function to not make variables inside accessable from outside.
I know there's a ready function that is called when the DOM was loaded.
$(function () { 'use strict' ... });
Though I can't figure out what the first 2 functions do.