mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Make 'moment' a dependency of just 'mwimage', not all of VE-MW
Change-Id: I23c193bfb34203aa6f2ef1d3633c208e5c692c97
This commit is contained in:
parent
c895ba38b1
commit
b5c16ac95c
|
@ -19,7 +19,6 @@
|
|||
|
||||
"globals": {
|
||||
"mw": false,
|
||||
"moment": false,
|
||||
"OO": false,
|
||||
"QUnit": false,
|
||||
"unicodeJS": false,
|
||||
|
|
|
@ -430,7 +430,6 @@
|
|||
"mediawiki.util",
|
||||
"user.options",
|
||||
"user.tokens",
|
||||
"moment",
|
||||
"ext.visualEditor.base",
|
||||
"ext.visualEditor.track",
|
||||
"ext.visualEditor.targetLoader",
|
||||
|
@ -1221,7 +1220,8 @@
|
|||
],
|
||||
"dependencies": [
|
||||
"ext.visualEditor.mwimage.core",
|
||||
"mediawiki.ForeignStructuredUpload.BookletLayout"
|
||||
"mediawiki.ForeignStructuredUpload.BookletLayout",
|
||||
"moment"
|
||||
],
|
||||
"messages": [
|
||||
"visualeditor-dialog-media-alttext-section",
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
* @license The MIT License (MIT); see LICENSE.txt
|
||||
*/
|
||||
|
||||
/*global moment */
|
||||
|
||||
/**
|
||||
* MWMediaInfoFieldWidget widget for displaying media information from the API.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue