resources: Strip '$' and 'mw' from file closures
[lhc/web/wiklou.git] / resources / src / mediawiki.Title / phpCharToUpper.js
index 2b39c9a..ed700f0 100644 (file)
@@ -2,7 +2,7 @@
 // (It is excluded in jsduck.json.)
 // ESLint suggests unquoting some object keys, which would render the file unparseable by Opera 12.
 /* eslint-disable quote-props */
-( function ( mw ) {
+( function () {
        var toUpperMapping = {
                'ß': 'ß',
                'ʼn': 'ʼn',
                var mapped = toUpperMapping[ chr ];
                return mapped || chr.toUpperCase();
        };
-}( mediaWiki ) );
+}() );