resources: Strip '$' and 'mw' from file closures
[lhc/web/wiklou.git] / resources / src / mediawiki.visibleTimeout.js
index bac0674..11bac71 100644 (file)
@@ -1,7 +1,8 @@
-( function ( mw, document ) {
+( function () {
        var hidden, visibilityChange,
                nextVisibleTimeoutId = 0,
                activeTimeouts = {},
+               document = window.document,
                init = function ( overrideDoc ) {
                        if ( overrideDoc !== undefined ) {
                                document = overrideDoc;
                module.exports.setDocument = init;
        }
 
-}( mediaWiki, document ) );
+}() );