Index: branches/js2-work/phase3/skins/common/wikibits.js |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | var onloadFuncts = []; |
38 | 38 | } |
39 | 39 | |
40 | | -// code that is dependent on js2 functions should use js2AddOnloadHook |
| 40 | +// code that is dependent on js2 functions should use mw.addOnloadHook |
41 | 41 | function addOnloadHook(hookFunct) { |
42 | 42 | // Allows add-on scripts to add onload functions |
43 | 43 | if(!doneOnloadHook) { |
Index: branches/js2-work/phase3/includes/OutputPage.php |
— | — | @@ -245,7 +245,7 @@ |
246 | 246 | if( !$this->mScriptLoader ) |
247 | 247 | $this->mScriptLoader = new jsScriptLoader(); |
248 | 248 | |
249 | | - $inlineMsg = $this->mScriptLoader->getInlineLoadGMFromClass( $js_class ); |
| 249 | + $inlineMsg = $this->mScriptLoader->getInlineMsgFromClass( $js_class ); |
250 | 250 | if( $inlineMsg != '' ) |
251 | 251 | $this->addScript( Html::inlineScript( $inlineMsg )); |
252 | 252 | } |