mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-15 02:04:02 +00:00
VE: Add explicit dependency on targetLoader
Change-Id: I3d67837b462e0b79e124eff158bd7f88b5aaf63e
This commit is contained in:
parent
2518861bc1
commit
89f52f6fbb
|
@ -1,4 +1,4 @@
|
|||
( function () {
|
||||
mw.loader.using( 'ext.visualEditor.targetLoader' ).then( function () {
|
||||
mw.libs.ve.targetLoader.addPlugin( function () {
|
||||
var index,
|
||||
target = ve.init.mw.DesktopArticleTarget;
|
||||
|
@ -8,4 +8,4 @@
|
|||
target.static.actionGroups[ 1 ].include.splice( index, 0, 'codeMirror' );
|
||||
}
|
||||
} );
|
||||
}() );
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue