resources: Strip '$' and 'mw' from file closures
[lhc/web/wiklou.git] / resources / src / mediawiki.widgets.visibleLengthLimit / mediawiki.widgets.visibleLengthLimit.js
index aab1e7c..63da95a 100644 (file)
@@ -1,4 +1,4 @@
-( function ( mw ) {
+( function () {
 
        var byteLength = require( 'mediawiki.String' ).byteLength,
                codePointLength = require( 'mediawiki.String' ).codePointLength;
@@ -63,4 +63,4 @@
                textInputWidget.$input.codePointLimit( limit );
        };
 
-}( mediaWiki ) );
+}() );