r55829 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55828‎ | r55829 | r55830 >
Date:17:28, 4 September 2009
Author:dale
Status:ok
Tags:
Comment:
* added mwLoad shortcut to mvJsLoader.doLoad
Modified paths:
  • /trunk/phase3/js2/mwEmbed/mv_embed.js (modified) (history)

Diff [purge]

Index: trunk/phase3/js2/mwEmbed/mv_embed.js
@@ -335,6 +335,11 @@
336336 /**
337337 * mvJsLoader class handles initialization and js file loads
338338 */
 339+
 340+//shortcut:
 341+function mwLoad(loadSet, callback){
 342+ mvJsLoader.doLoad(loadSet, callback);
 343+}
339344 var mvJsLoader = {
340345 libreq : {},
341346 libs : {},

Status & tagging log