3 ms·
This reduces size after uglifying. (function(window, $, otherGlobal) { $ = window.jQuery; otherGlobal = window.otherGlobal; //code here }
by thekingshorses 12y ago
This reduces size after uglifying.
(function(window, $, otherGlobal) {
$ = window.jQuery;
otherGlobal = window.otherGlobal;
//code here
})(window);