diff --git a/Gruntfile.js b/Gruntfile.js index efe32d6..6644d11 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -21,7 +21,7 @@ module.exports = function ( grunt ) { options: { csslintrc: '.csslintrc' }, - all: 'modules/VisualEditor/*.css' + all: 'modules/ve-math/*.css' }, jshint: { options: { diff --git a/extension.json b/extension.json index 6061277..83dcddf 100644 --- a/extension.json +++ b/extension.json @@ -136,15 +136,15 @@ }, "ext.math.visualEditor": { "scripts": [ - "VisualEditor/ve.dm.MWMathNode.js", - "VisualEditor/ve.ce.MWMathNode.js", - "VisualEditor/ve.ui.MWMathInspector.js", - "VisualEditor/ve.ui.MWMathInspectorTool.js" + "ve-math/ve.dm.MWMathNode.js", + "ve-math/ve.ce.MWMathNode.js", + "ve-math/ve.ui.MWMathInspector.js", + "ve-math/ve.ui.MWMathInspectorTool.js" ], "styles": [ - "VisualEditor/ve.ce.MWMathNode.css", - "VisualEditor/ve.ui.MWMathIcons.css", - "VisualEditor/ve.ui.MWMathInspector.css" + "ve-math/ve.ce.MWMathNode.css", + "ve-math/ve.ui.MWMathIcons.css", + "ve-math/ve.ui.MWMathInspector.css" ], "dependencies": [ "ext.visualEditor.mwcore" diff --git a/modules/VisualEditor/math-display-block.svg b/modules/ve-math/math-display-block.svg similarity index 100% rename from modules/VisualEditor/math-display-block.svg rename to modules/ve-math/math-display-block.svg diff --git a/modules/VisualEditor/math-display-default.svg b/modules/ve-math/math-display-default.svg similarity index 100% rename from modules/VisualEditor/math-display-default.svg rename to modules/ve-math/math-display-default.svg diff --git a/modules/VisualEditor/math-display-inline.svg b/modules/ve-math/math-display-inline.svg similarity index 100% rename from modules/VisualEditor/math-display-inline.svg rename to modules/ve-math/math-display-inline.svg diff --git a/modules/VisualEditor/math.svg b/modules/ve-math/math.svg similarity index 100% rename from modules/VisualEditor/math.svg rename to modules/ve-math/math.svg diff --git a/modules/VisualEditor/ve.ce.MWMathNode.css b/modules/ve-math/ve.ce.MWMathNode.css similarity index 100% rename from modules/VisualEditor/ve.ce.MWMathNode.css rename to modules/ve-math/ve.ce.MWMathNode.css diff --git a/modules/VisualEditor/ve.ce.MWMathNode.js b/modules/ve-math/ve.ce.MWMathNode.js similarity index 100% rename from modules/VisualEditor/ve.ce.MWMathNode.js rename to modules/ve-math/ve.ce.MWMathNode.js diff --git a/modules/VisualEditor/ve.dm.MWMathNode.js b/modules/ve-math/ve.dm.MWMathNode.js similarity index 100% rename from modules/VisualEditor/ve.dm.MWMathNode.js rename to modules/ve-math/ve.dm.MWMathNode.js diff --git a/modules/VisualEditor/ve.ui.MWMathIcons.css b/modules/ve-math/ve.ui.MWMathIcons.css similarity index 100% rename from modules/VisualEditor/ve.ui.MWMathIcons.css rename to modules/ve-math/ve.ui.MWMathIcons.css diff --git a/modules/VisualEditor/ve.ui.MWMathInspector.css b/modules/ve-math/ve.ui.MWMathInspector.css similarity index 100% rename from modules/VisualEditor/ve.ui.MWMathInspector.css rename to modules/ve-math/ve.ui.MWMathInspector.css diff --git a/modules/VisualEditor/ve.ui.MWMathInspector.js b/modules/ve-math/ve.ui.MWMathInspector.js similarity index 100% rename from modules/VisualEditor/ve.ui.MWMathInspector.js rename to modules/ve-math/ve.ui.MWMathInspector.js diff --git a/modules/VisualEditor/ve.ui.MWMathInspectorTool.js b/modules/ve-math/ve.ui.MWMathInspectorTool.js similarity index 100% rename from modules/VisualEditor/ve.ui.MWMathInspectorTool.js rename to modules/ve-math/ve.ui.MWMathInspectorTool.js