Skip to content

Commit

Permalink
wrap-iife
Browse files Browse the repository at this point in the history
  • Loading branch information
NovemLinguae committed Nov 21, 2024
1 parent eda003a commit 3bbf837
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 22 deletions.
3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
"operator-linebreak": "warn",
"prefer-arrow-callback": "warn",
"prefer-const": "warn",
"quote-props": "warn",
"wrap-iife": "off"
"quote-props": "warn"
}
}
2 changes: 1 addition & 1 deletion modules/twinklearv.js
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ Twinkle.arv.processAN3 = function(params) {
};

Twinkle.addInitCallback(Twinkle.arv, 'arv');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklebatchdelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ Twinkle.batchdelete.callbacks = {
};

Twinkle.addInitCallback(Twinkle.batchdelete, 'batchdelete');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklebatchprotect.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ Twinkle.batchprotect.callbacks = {
};

Twinkle.addInitCallback(Twinkle.batchprotect, 'batchprotect');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklebatchundelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ Twinkle.batchundelete.callbacks = {
};

Twinkle.addInitCallback(Twinkle.batchundelete, 'batchundelete');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkleblock.js
Original file line number Diff line number Diff line change
Expand Up @@ -2059,7 +2059,7 @@ Twinkle.block.callback.main = function twinkleblockcallbackMain(pageobj) {
};

Twinkle.addInitCallback(Twinkle.block, 'block');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkleconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -1730,7 +1730,7 @@ Twinkle.config.saveSuccess = function twinkleconfigSaveSuccess(pageobj) {
};

Twinkle.addInitCallback(Twinkle.config.init);
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkledeprod.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ var callback_commit = function(event) {
};

Twinkle.addInitCallback(Twinkle.deprod, 'deprod');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklediff.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Twinkle.diff.callbacks = {
};

Twinkle.addInitCallback(Twinkle.diff, 'diff');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklefluff.js
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ Twinkle.fluff.formatSummary = function(builtInString, userName, customString) {
};

Twinkle.addInitCallback(Twinkle.fluff, 'fluff');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkleimage.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ Twinkle.image.callbacks = {
};

Twinkle.addInitCallback(Twinkle.image, 'image');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkleprod.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ Twinkle.prod.callback.evaluate = function twinkleprodCallbackEvaluate(e) {
};

Twinkle.addInitCallback(Twinkle.prod, 'prod');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkleprotect.js
Original file line number Diff line number Diff line change
Expand Up @@ -1670,7 +1670,7 @@ Twinkle.protect.callbacks = {
};

Twinkle.addInitCallback(Twinkle.protect, 'protect');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkleshared.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ Twinkle.shared.callback.evaluate = function twinklesharedCallbackEvaluate(e) {
};

Twinkle.addInitCallback(Twinkle.shared, 'shared');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklespeedy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,7 @@ Twinkle.speedy.callback.evaluateUser = function twinklespeedyCallbackEvaluateUse
};

Twinkle.addInitCallback(Twinkle.speedy, 'speedy');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkletag.js
Original file line number Diff line number Diff line change
Expand Up @@ -2203,5 +2203,5 @@ Twinkle.tag.callback.evaluate = function twinkletagCallbackEvaluate(e) {
};

Twinkle.addInitCallback(Twinkle.tag, 'tag');
})(jQuery);
}(jQuery));
// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkletalkback.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ Twinkle.talkback.callbacks = {
}
};
Twinkle.addInitCallback(Twinkle.talkback, 'talkback');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinkleunlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Twinkle.unlink.callbacks = {
};

Twinkle.addInitCallback(Twinkle.unlink, 'unlink');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklewarn.js
Original file line number Diff line number Diff line change
Expand Up @@ -2062,7 +2062,7 @@ Twinkle.warn.callback.evaluate = function twinklewarnCallbackEvaluate(e) {
};

Twinkle.addInitCallback(Twinkle.warn, 'warn');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklewelcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ Twinkle.welcome.callback.evaluate = function twinklewelcomeCallbackEvaluate(e) {
};

Twinkle.addInitCallback(Twinkle.welcome, 'welcome');
})(jQuery);
}(jQuery));


// </nowiki>
2 changes: 1 addition & 1 deletion modules/twinklexfd.js
Original file line number Diff line number Diff line change
Expand Up @@ -2254,7 +2254,7 @@ Twinkle.xfd.callback.evaluate = function(e) {
};

Twinkle.addInitCallback(Twinkle.xfd, 'xfd');
})(jQuery);
}(jQuery));


// </nowiki>

0 comments on commit 3bbf837

Please sign in to comment.