From: Michael Dale Date: Fri, 4 Sep 2009 17:28:34 +0000 (+0000) Subject: * added mwLoad shortcut to mvJsLoader.doLoad X-Git-Tag: 1.31.0-rc.0~39922 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=268fc910e152c86d1de3d107397b8840a5e54571;p=lhc%2Fweb%2Fwiklou.git * added mwLoad shortcut to mvJsLoader.doLoad --- diff --git a/js2/mwEmbed/mv_embed.js b/js2/mwEmbed/mv_embed.js index 9fb5584917..97e26bd553 100644 --- a/js2/mwEmbed/mv_embed.js +++ b/js2/mwEmbed/mv_embed.js @@ -335,6 +335,11 @@ function mv_set_loading(target, load_id){ /** * mvJsLoader class handles initialization and js file loads */ + +//shortcut: +function mwLoad(loadSet, callback){ + mvJsLoader.doLoad(loadSet, callback); +} var mvJsLoader = { libreq : {}, libs : {},