r72063 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72062‎ | r72063 | r72064 >
Date:23:15, 31 August 2010
Author:tparscal
Status:ok
Tags:
Comment:
Added auto-register from pre-loaded manifest. Now when this loads, it tries to execute a startup routine which registers the initial module map.
Modified paths:
  • /branches/resourceloader/phase3/resources/mediawiki/mediawiki.js (modified) (history)

Diff [purge]

Index: branches/resourceloader/phase3/resources/mediawiki/mediawiki.js
@@ -586,4 +586,11 @@
587587
588588 this.util = {};
589589 this.legacy = {};
 590+
 591+ /* Auto-register from pre-loaded startup scripts */
 592+
 593+ if ( typeof window['mediaWikiStartUp'] === 'function' ) {
 594+ window['mediaWikiStartUp']();
 595+ delete window['mediaWikiStartUp'];
 596+ }
590597 } )( jQuery );

Status & tagging log