Depend on ext.wikiEditor.toolbar

Depend on ext.wikiEditor.toolbar instead of just ext.wikiEditor since
both are needed, and under certain circumstances the module would try to
initialise before the toolbar component was loaded.

Change-Id: Ie6a725513399815670ff0d24fa394c0b3b3a2a7e
This commit is contained in:
Tim Starling 2012-07-03 13:15:22 +10:00
parent 79bd275867
commit c41ec784f9

View file

@ -35,7 +35,7 @@ $tpl = array(
$wgResourceModules['ext.codeEditor'] = array(
'scripts' => 'ext.codeEditor.js',
'dependencies' => array(
'ext.wikiEditor',
'ext.wikiEditor.toolbar',
'jquery.codeEditor'
),
) + $tpl;