All Questions
1
question
4
votes
4
answers
8k
views
window.jQuery or jQuery?
(function($) {
// plugin code
})(window.jQuery);
Seems this code almost the same effect, as:
(function($) {
// plugin code
})(jQuery);
Should I use window.jQuery or jQuery for function argument? ...