Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
заготовка для jquery-скрипта
(function(callback) {
callback(window.jQuery, window, document);
}(function($, window, document) {
// The $ is now locally scoped
$(function() {
});
}
}));
// или так
;(function (factory) {
factory(window.jQuery, window, document)
})(function($, window, document) {
$(function () {});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.