HomePhabricator

(bug 26507) Wrap all ResourceLoader-served JS in (function($, mw) { code here…

Authored by Catrope.

Description

(bug 26507) Wrap all ResourceLoader-served JS in (function($, mw) { code here })(jQuery, mediaWiki) so modules can always use $ as an alias for jQuery even if it's been unset in the global scope with jQuery.noConflict()

Details

Committed
CatropeDec 30 2010, 12:22 PM
Parents
rMW4e2c8e7f9f82: Fix JS errors in prefs.js caused by the (unintentional?) renaming of mw-input…
Branches
Unknown
Tags
Unknown
ChangeId
None