diff options
Diffstat (limited to 'resources/src/mediawiki/mediawiki.startUp.js')
-rw-r--r-- | resources/src/mediawiki/mediawiki.startUp.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/resources/src/mediawiki/mediawiki.startUp.js b/resources/src/mediawiki/mediawiki.startUp.js new file mode 100644 index 00000000..028784c2 --- /dev/null +++ b/resources/src/mediawiki/mediawiki.startUp.js @@ -0,0 +1,11 @@ +/*! + * Auto-register from pre-loaded startup scripts + */ +( function ( $ ) { + 'use strict'; + + if ( $.isFunction( window.startUp ) ) { + window.startUp(); + window.startUp = undefined; + } +}( jQuery ) ); |