diff --git a/clipart/moon.svg b/docs/clipart/moon.svg similarity index 100% rename from clipart/moon.svg rename to docs/clipart/moon.svg diff --git a/clipart/star.svg b/docs/clipart/star.svg similarity index 100% rename from clipart/star.svg rename to docs/clipart/star.svg diff --git a/clipart/sun.svg b/docs/clipart/sun.svg similarity index 100% rename from clipart/sun.svg rename to docs/clipart/sun.svg diff --git a/screencasts/svgedit-screencast-1.txt b/docs/screencasts/svgedit-screencast-1.txt similarity index 100% rename from screencasts/svgedit-screencast-1.txt rename to docs/screencasts/svgedit-screencast-1.txt diff --git a/screencasts/svgedit-screencast-2.txt b/docs/screencasts/svgedit-screencast-2.txt similarity index 100% rename from screencasts/svgedit-screencast-2.txt rename to docs/screencasts/svgedit-screencast-2.txt diff --git a/screencasts/svgedit-screencast-3.txt b/docs/screencasts/svgedit-screencast-3.txt similarity index 100% rename from screencasts/svgedit-screencast-3.txt rename to docs/screencasts/svgedit-screencast-3.txt diff --git a/screencasts/svgopen2010/LICENSE-Apache2.0.txt b/docs/screencasts/svgopen2010/LICENSE-Apache2.0.txt similarity index 100% rename from screencasts/svgopen2010/LICENSE-Apache2.0.txt rename to docs/screencasts/svgopen2010/LICENSE-Apache2.0.txt diff --git a/screencasts/svgopen2010/index.html b/docs/screencasts/svgopen2010/index.html similarity index 100% rename from screencasts/svgopen2010/index.html rename to docs/screencasts/svgopen2010/index.html diff --git a/editor/images/logo.svg b/docs/screencasts/svgopen2010/logo.svg similarity index 100% rename from editor/images/logo.svg rename to docs/screencasts/svgopen2010/logo.svg diff --git a/screencasts/svgopen2010/script.js b/docs/screencasts/svgopen2010/script.js similarity index 100% rename from screencasts/svgopen2010/script.js rename to docs/screencasts/svgopen2010/script.js diff --git a/screencasts/svgopen2010/style.css b/docs/screencasts/svgopen2010/style.css similarity index 100% rename from screencasts/svgopen2010/style.css rename to docs/screencasts/svgopen2010/style.css diff --git a/package-lock.json b/package-lock.json index b29f0b61..cfc9190e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6644,15 +6644,6 @@ "sha.js": "^2.4.8" } }, - "cross-env": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.2.tgz", - "integrity": "sha512-KZP/bMEOJEDCkDQAyRhu3RL2ZO/SUVrxQVI0G3YEQ+OLbRA3c6zgixe8Mq8a/z7+HKlNEjo8oiLUs8iRijY2Rw==", - "dev": true, - "requires": { - "cross-spawn": "^7.0.1" - } - }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", diff --git a/package.json b/package.json index e2f08bf4..8adc8417 100644 --- a/package.json +++ b/package.json @@ -121,23 +121,7 @@ }, "homepage": "https://github.com/SVG-Edit/svgedit#readme", "browserslist": [ - "cover 100%", - "last 3 Chrome versions", - "last 3 Firefox versions", - "last 3 Edge versions", - "last 3 Safari versions", - "last 3 ios_saf versions", - "last 3 Android versions", - "last 3 Opera versions", - "last 3 IE versions", - "last 3 op_mini versions", - "last 3 bb versions", - "last 3 op_mob versions", - "last 3 and_chr versions", - "last 3 and_ff versions", - "last 3 ie_mob versions", - "last 3 and_uc versions", - "last 3 Samsung versions" + "> 2%" ], "dependencies": {}, "devDependencies": { diff --git a/editor/browser.js b/src/common/browser.js similarity index 100% rename from editor/browser.js rename to src/common/browser.js diff --git a/editor/jQuery.attr.js b/src/common/jQuery.attr.js similarity index 100% rename from editor/jQuery.attr.js rename to src/common/jQuery.attr.js diff --git a/editor/layer.js b/src/common/layer.js similarity index 100% rename from editor/layer.js rename to src/common/layer.js diff --git a/editor/math.js b/src/common/math.js similarity index 100% rename from editor/math.js rename to src/common/math.js diff --git a/editor/namespaces.js b/src/common/namespaces.js similarity index 100% rename from editor/namespaces.js rename to src/common/namespaces.js diff --git a/editor/svgpathseg.js b/src/common/svgpathseg.js similarity index 100% rename from editor/svgpathseg.js rename to src/common/svgpathseg.js diff --git a/editor/svgtransformlist.js b/src/common/svgtransformlist.js similarity index 100% rename from editor/svgtransformlist.js rename to src/common/svgtransformlist.js diff --git a/editor/units.js b/src/common/units.js similarity index 100% rename from editor/units.js rename to src/common/units.js diff --git a/editor/utilities.js b/src/common/utilities.js similarity index 96% rename from editor/utilities.js rename to src/common/utilities.js index 60bd7c49..a2678dbd 100644 --- a/editor/utilities.js +++ b/src/common/utilities.js @@ -1,3 +1,4 @@ +/* eslint-disable node/no-unsupported-features/node-builtins */ /* globals jQuery */ /** * Miscellaneous utilities. @@ -12,7 +13,6 @@ import jQueryPluginSVG from './jQuery.attr.js'; // Needed for SVG attribute sett import {NS} from './namespaces.js'; import {getTransformList} from './svgtransformlist.js'; import {setUnitAttr, getTypeMap} from './units.js'; -import {convertPath} from './path.js'; import { hasMatrixTransform, transformListToTransform, transformBox } from './math.js'; @@ -1331,57 +1331,6 @@ export const preventClickDefault = function (img) { * @callback module:utilities.GetNextID * @returns {string} The ID */ -/** - * Create a clone of an element, updating its ID and its children's IDs when needed. - * @function module:utilities.copyElem - * @param {Element} el - DOM element to clone - * @param {module:utilities.GetNextID} getNextId - The getter of the next unique ID. - * @returns {Element} The cloned element - */ -export const copyElem = function (el, getNextId) { - // manually create a copy of the element - const newEl = document.createElementNS(el.namespaceURI, el.nodeName); - $.each(el.attributes, function (i, attr) { - if (attr.localName !== '-moz-math-font-style') { - newEl.setAttributeNS(attr.namespaceURI, attr.nodeName, attr.value); - } - }); - // set the copied element's new id - newEl.removeAttribute('id'); - newEl.id = getNextId(); - - // Opera's "d" value needs to be reset for Opera/Win/non-EN - // Also needed for webkit (else does not keep curved segments on clone) - if (isWebkit() && el.nodeName === 'path') { - const fixedD = convertPath(el); - newEl.setAttribute('d', fixedD); - } - - // now create copies of all children - $.each(el.childNodes, function (i, child) { - switch (child.nodeType) { - case 1: // element node - newEl.append(copyElem(child, getNextId)); - break; - case 3: // text node - newEl.textContent = child.nodeValue; - break; - default: - break; - } - }); - - if ($(el).data('gsvg')) { - $(newEl).data('gsvg', newEl.firstChild); - } else if ($(el).data('symbol')) { - const ref = $(el).data('symbol'); - $(newEl).data('ref', ref).data('symbol', ref); - } else if (newEl.tagName === 'image') { - preventClickDefault(newEl); - } - - return newEl; -}; /** * Whether a value is `null` or `undefined`. diff --git a/editor/browser-not-supported.html b/src/editor/browser-not-supported.html similarity index 100% rename from editor/browser-not-supported.html rename to src/editor/browser-not-supported.html diff --git a/editor/canvg/canvg.js b/src/editor/canvg/canvg.js similarity index 100% rename from editor/canvg/canvg.js rename to src/editor/canvg/canvg.js diff --git a/editor/canvg/rgbcolor.js b/src/editor/canvg/rgbcolor.js similarity index 100% rename from editor/canvg/rgbcolor.js rename to src/editor/canvg/rgbcolor.js diff --git a/editor/contextmenu.js b/src/editor/contextmenu.js similarity index 100% rename from editor/contextmenu.js rename to src/editor/contextmenu.js diff --git a/editor/contextmenu/jQuery.contextMenu.js b/src/editor/contextmenu/jQuery.contextMenu.js similarity index 99% rename from editor/contextmenu/jQuery.contextMenu.js rename to src/editor/contextmenu/jQuery.contextMenu.js index 4a969946..73625029 100755 --- a/editor/contextmenu/jQuery.contextMenu.js +++ b/src/editor/contextmenu/jQuery.contextMenu.js @@ -16,7 +16,7 @@ * and the MIT License and is copyright A Beautiful Site, LLC. * */ -import {isMac} from '../browser.js'; +import {isMac} from '../../common/browser.js'; /** * @callback module:jQueryContextMenu.jQueryContextMenuListener diff --git a/editor/embedapi-dom.js b/src/editor/embedapi-dom.js similarity index 100% rename from editor/embedapi-dom.js rename to src/editor/embedapi-dom.js diff --git a/editor/embedapi.html b/src/editor/embedapi.html similarity index 100% rename from editor/embedapi.html rename to src/editor/embedapi.html diff --git a/editor/embedapi.js b/src/editor/embedapi.js similarity index 100% rename from editor/embedapi.js rename to src/editor/embedapi.js diff --git a/editor/extensions/allowedMimeTypes.php b/src/editor/extensions/allowedMimeTypes.php similarity index 100% rename from editor/extensions/allowedMimeTypes.php rename to src/editor/extensions/allowedMimeTypes.php diff --git a/editor/extensions/closepath.png b/src/editor/extensions/closepath.png similarity index 100% rename from editor/extensions/closepath.png rename to src/editor/extensions/closepath.png diff --git a/editor/extensions/closepath_icons.svg b/src/editor/extensions/closepath_icons.svg similarity index 100% rename from editor/extensions/closepath_icons.svg rename to src/editor/extensions/closepath_icons.svg diff --git a/editor/extensions/ext-arrows.js b/src/editor/extensions/ext-arrows.js similarity index 100% rename from editor/extensions/ext-arrows.js rename to src/editor/extensions/ext-arrows.js diff --git a/editor/extensions/ext-closepath.js b/src/editor/extensions/ext-closepath.js similarity index 100% rename from editor/extensions/ext-closepath.js rename to src/editor/extensions/ext-closepath.js diff --git a/editor/extensions/ext-connector.js b/src/editor/extensions/ext-connector.js similarity index 100% rename from editor/extensions/ext-connector.js rename to src/editor/extensions/ext-connector.js diff --git a/editor/extensions/ext-eyedropper.js b/src/editor/extensions/ext-eyedropper.js similarity index 100% rename from editor/extensions/ext-eyedropper.js rename to src/editor/extensions/ext-eyedropper.js diff --git a/editor/extensions/ext-foreignobject.js b/src/editor/extensions/ext-foreignobject.js similarity index 100% rename from editor/extensions/ext-foreignobject.js rename to src/editor/extensions/ext-foreignobject.js diff --git a/editor/extensions/ext-grid.js b/src/editor/extensions/ext-grid.js similarity index 100% rename from editor/extensions/ext-grid.js rename to src/editor/extensions/ext-grid.js diff --git a/editor/extensions/ext-helloworld.js b/src/editor/extensions/ext-helloworld.js similarity index 100% rename from editor/extensions/ext-helloworld.js rename to src/editor/extensions/ext-helloworld.js diff --git a/editor/extensions/ext-imagelib.js b/src/editor/extensions/ext-imagelib.js similarity index 100% rename from editor/extensions/ext-imagelib.js rename to src/editor/extensions/ext-imagelib.js diff --git a/editor/extensions/ext-imagelib.xml b/src/editor/extensions/ext-imagelib.xml similarity index 100% rename from editor/extensions/ext-imagelib.xml rename to src/editor/extensions/ext-imagelib.xml diff --git a/editor/extensions/ext-locale/arrows/en.js b/src/editor/extensions/ext-locale/arrows/en.js similarity index 100% rename from editor/extensions/ext-locale/arrows/en.js rename to src/editor/extensions/ext-locale/arrows/en.js diff --git a/editor/extensions/ext-locale/arrows/fr.js b/src/editor/extensions/ext-locale/arrows/fr.js similarity index 100% rename from editor/extensions/ext-locale/arrows/fr.js rename to src/editor/extensions/ext-locale/arrows/fr.js diff --git a/editor/extensions/ext-locale/arrows/zh-CN.js b/src/editor/extensions/ext-locale/arrows/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/arrows/zh-CN.js rename to src/editor/extensions/ext-locale/arrows/zh-CN.js diff --git a/editor/extensions/ext-locale/closepath/en.js b/src/editor/extensions/ext-locale/closepath/en.js similarity index 100% rename from editor/extensions/ext-locale/closepath/en.js rename to src/editor/extensions/ext-locale/closepath/en.js diff --git a/editor/extensions/ext-locale/closepath/zh-CN.js b/src/editor/extensions/ext-locale/closepath/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/closepath/zh-CN.js rename to src/editor/extensions/ext-locale/closepath/zh-CN.js diff --git a/editor/extensions/ext-locale/connector/en.js b/src/editor/extensions/ext-locale/connector/en.js similarity index 100% rename from editor/extensions/ext-locale/connector/en.js rename to src/editor/extensions/ext-locale/connector/en.js diff --git a/editor/extensions/ext-locale/connector/fr.js b/src/editor/extensions/ext-locale/connector/fr.js similarity index 100% rename from editor/extensions/ext-locale/connector/fr.js rename to src/editor/extensions/ext-locale/connector/fr.js diff --git a/editor/extensions/ext-locale/connector/zh-CN.js b/src/editor/extensions/ext-locale/connector/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/connector/zh-CN.js rename to src/editor/extensions/ext-locale/connector/zh-CN.js diff --git a/editor/extensions/ext-locale/eyedropper/en.js b/src/editor/extensions/ext-locale/eyedropper/en.js similarity index 100% rename from editor/extensions/ext-locale/eyedropper/en.js rename to src/editor/extensions/ext-locale/eyedropper/en.js diff --git a/editor/extensions/ext-locale/eyedropper/zh-CN.js b/src/editor/extensions/ext-locale/eyedropper/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/eyedropper/zh-CN.js rename to src/editor/extensions/ext-locale/eyedropper/zh-CN.js diff --git a/editor/extensions/ext-locale/foreignobject/en.js b/src/editor/extensions/ext-locale/foreignobject/en.js similarity index 100% rename from editor/extensions/ext-locale/foreignobject/en.js rename to src/editor/extensions/ext-locale/foreignobject/en.js diff --git a/editor/extensions/ext-locale/foreignobject/zh-CN.js b/src/editor/extensions/ext-locale/foreignobject/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/foreignobject/zh-CN.js rename to src/editor/extensions/ext-locale/foreignobject/zh-CN.js diff --git a/editor/extensions/ext-locale/grid/en.js b/src/editor/extensions/ext-locale/grid/en.js similarity index 100% rename from editor/extensions/ext-locale/grid/en.js rename to src/editor/extensions/ext-locale/grid/en.js diff --git a/editor/extensions/ext-locale/grid/zh-CN.js b/src/editor/extensions/ext-locale/grid/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/grid/zh-CN.js rename to src/editor/extensions/ext-locale/grid/zh-CN.js diff --git a/editor/extensions/ext-locale/helloworld/en.js b/src/editor/extensions/ext-locale/helloworld/en.js similarity index 100% rename from editor/extensions/ext-locale/helloworld/en.js rename to src/editor/extensions/ext-locale/helloworld/en.js diff --git a/editor/extensions/ext-locale/helloworld/zh-CN.js b/src/editor/extensions/ext-locale/helloworld/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/helloworld/zh-CN.js rename to src/editor/extensions/ext-locale/helloworld/zh-CN.js diff --git a/editor/extensions/ext-locale/imagelib/de.js b/src/editor/extensions/ext-locale/imagelib/de.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/de.js rename to src/editor/extensions/ext-locale/imagelib/de.js diff --git a/editor/extensions/ext-locale/imagelib/en.js b/src/editor/extensions/ext-locale/imagelib/en.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/en.js rename to src/editor/extensions/ext-locale/imagelib/en.js diff --git a/editor/extensions/ext-locale/imagelib/fr.js b/src/editor/extensions/ext-locale/imagelib/fr.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/fr.js rename to src/editor/extensions/ext-locale/imagelib/fr.js diff --git a/editor/extensions/ext-locale/imagelib/pl.js b/src/editor/extensions/ext-locale/imagelib/pl.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/pl.js rename to src/editor/extensions/ext-locale/imagelib/pl.js diff --git a/editor/extensions/ext-locale/imagelib/pt-BR.js b/src/editor/extensions/ext-locale/imagelib/pt-BR.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/pt-BR.js rename to src/editor/extensions/ext-locale/imagelib/pt-BR.js diff --git a/editor/extensions/ext-locale/imagelib/ro.js b/src/editor/extensions/ext-locale/imagelib/ro.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/ro.js rename to src/editor/extensions/ext-locale/imagelib/ro.js diff --git a/editor/extensions/ext-locale/imagelib/sk.js b/src/editor/extensions/ext-locale/imagelib/sk.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/sk.js rename to src/editor/extensions/ext-locale/imagelib/sk.js diff --git a/editor/extensions/ext-locale/imagelib/sl.js b/src/editor/extensions/ext-locale/imagelib/sl.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/sl.js rename to src/editor/extensions/ext-locale/imagelib/sl.js diff --git a/editor/extensions/ext-locale/imagelib/zh-CN.js b/src/editor/extensions/ext-locale/imagelib/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/imagelib/zh-CN.js rename to src/editor/extensions/ext-locale/imagelib/zh-CN.js diff --git a/editor/extensions/ext-locale/markers/en.js b/src/editor/extensions/ext-locale/markers/en.js similarity index 100% rename from editor/extensions/ext-locale/markers/en.js rename to src/editor/extensions/ext-locale/markers/en.js diff --git a/editor/extensions/ext-locale/markers/zh-CN.js b/src/editor/extensions/ext-locale/markers/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/markers/zh-CN.js rename to src/editor/extensions/ext-locale/markers/zh-CN.js diff --git a/editor/extensions/ext-locale/mathjax/en.js b/src/editor/extensions/ext-locale/mathjax/en.js similarity index 100% rename from editor/extensions/ext-locale/mathjax/en.js rename to src/editor/extensions/ext-locale/mathjax/en.js diff --git a/editor/extensions/ext-locale/mathjax/zh-CN.js b/src/editor/extensions/ext-locale/mathjax/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/mathjax/zh-CN.js rename to src/editor/extensions/ext-locale/mathjax/zh-CN.js diff --git a/editor/extensions/ext-locale/panning/en.js b/src/editor/extensions/ext-locale/panning/en.js similarity index 100% rename from editor/extensions/ext-locale/panning/en.js rename to src/editor/extensions/ext-locale/panning/en.js diff --git a/editor/extensions/ext-locale/panning/zh-CN.js b/src/editor/extensions/ext-locale/panning/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/panning/zh-CN.js rename to src/editor/extensions/ext-locale/panning/zh-CN.js diff --git a/editor/extensions/ext-locale/placemark/en.js b/src/editor/extensions/ext-locale/placemark/en.js similarity index 100% rename from editor/extensions/ext-locale/placemark/en.js rename to src/editor/extensions/ext-locale/placemark/en.js diff --git a/editor/extensions/ext-locale/polygon/en.js b/src/editor/extensions/ext-locale/polygon/en.js similarity index 100% rename from editor/extensions/ext-locale/polygon/en.js rename to src/editor/extensions/ext-locale/polygon/en.js diff --git a/editor/extensions/ext-locale/polygon/zh-CN.js b/src/editor/extensions/ext-locale/polygon/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/polygon/zh-CN.js rename to src/editor/extensions/ext-locale/polygon/zh-CN.js diff --git a/editor/extensions/ext-locale/server_moinsave/en.js b/src/editor/extensions/ext-locale/server_moinsave/en.js similarity index 100% rename from editor/extensions/ext-locale/server_moinsave/en.js rename to src/editor/extensions/ext-locale/server_moinsave/en.js diff --git a/editor/extensions/ext-locale/server_moinsave/zh-CN.js b/src/editor/extensions/ext-locale/server_moinsave/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/server_moinsave/zh-CN.js rename to src/editor/extensions/ext-locale/server_moinsave/zh-CN.js diff --git a/editor/extensions/ext-locale/server_opensave/en.js b/src/editor/extensions/ext-locale/server_opensave/en.js similarity index 100% rename from editor/extensions/ext-locale/server_opensave/en.js rename to src/editor/extensions/ext-locale/server_opensave/en.js diff --git a/editor/extensions/ext-locale/server_opensave/zh-CN.js b/src/editor/extensions/ext-locale/server_opensave/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/server_opensave/zh-CN.js rename to src/editor/extensions/ext-locale/server_opensave/zh-CN.js diff --git a/editor/extensions/ext-locale/shapes/en.js b/src/editor/extensions/ext-locale/shapes/en.js similarity index 100% rename from editor/extensions/ext-locale/shapes/en.js rename to src/editor/extensions/ext-locale/shapes/en.js diff --git a/editor/extensions/ext-locale/shapes/fr.js b/src/editor/extensions/ext-locale/shapes/fr.js similarity index 100% rename from editor/extensions/ext-locale/shapes/fr.js rename to src/editor/extensions/ext-locale/shapes/fr.js diff --git a/editor/extensions/ext-locale/shapes/zh-CN.js b/src/editor/extensions/ext-locale/shapes/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/shapes/zh-CN.js rename to src/editor/extensions/ext-locale/shapes/zh-CN.js diff --git a/editor/extensions/ext-locale/star/en.js b/src/editor/extensions/ext-locale/star/en.js similarity index 100% rename from editor/extensions/ext-locale/star/en.js rename to src/editor/extensions/ext-locale/star/en.js diff --git a/editor/extensions/ext-locale/star/zh-CN.js b/src/editor/extensions/ext-locale/star/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/star/zh-CN.js rename to src/editor/extensions/ext-locale/star/zh-CN.js diff --git a/editor/extensions/ext-locale/storage/de.js b/src/editor/extensions/ext-locale/storage/de.js similarity index 100% rename from editor/extensions/ext-locale/storage/de.js rename to src/editor/extensions/ext-locale/storage/de.js diff --git a/editor/extensions/ext-locale/storage/en.js b/src/editor/extensions/ext-locale/storage/en.js similarity index 100% rename from editor/extensions/ext-locale/storage/en.js rename to src/editor/extensions/ext-locale/storage/en.js diff --git a/editor/extensions/ext-locale/storage/fr.js b/src/editor/extensions/ext-locale/storage/fr.js similarity index 100% rename from editor/extensions/ext-locale/storage/fr.js rename to src/editor/extensions/ext-locale/storage/fr.js diff --git a/editor/extensions/ext-locale/storage/zh-CN.js b/src/editor/extensions/ext-locale/storage/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/storage/zh-CN.js rename to src/editor/extensions/ext-locale/storage/zh-CN.js diff --git a/editor/extensions/ext-locale/webappfind/en.js b/src/editor/extensions/ext-locale/webappfind/en.js similarity index 100% rename from editor/extensions/ext-locale/webappfind/en.js rename to src/editor/extensions/ext-locale/webappfind/en.js diff --git a/editor/extensions/ext-locale/webappfind/zh-CN.js b/src/editor/extensions/ext-locale/webappfind/zh-CN.js similarity index 100% rename from editor/extensions/ext-locale/webappfind/zh-CN.js rename to src/editor/extensions/ext-locale/webappfind/zh-CN.js diff --git a/editor/extensions/ext-markers.js b/src/editor/extensions/ext-markers.js similarity index 100% rename from editor/extensions/ext-markers.js rename to src/editor/extensions/ext-markers.js diff --git a/editor/extensions/ext-mathjax.js b/src/editor/extensions/ext-mathjax.js similarity index 100% rename from editor/extensions/ext-mathjax.js rename to src/editor/extensions/ext-mathjax.js diff --git a/editor/extensions/ext-overview_window.js b/src/editor/extensions/ext-overview_window.js similarity index 100% rename from editor/extensions/ext-overview_window.js rename to src/editor/extensions/ext-overview_window.js diff --git a/editor/extensions/ext-panning.js b/src/editor/extensions/ext-panning.js similarity index 100% rename from editor/extensions/ext-panning.js rename to src/editor/extensions/ext-panning.js diff --git a/editor/extensions/ext-panning.xml b/src/editor/extensions/ext-panning.xml similarity index 100% rename from editor/extensions/ext-panning.xml rename to src/editor/extensions/ext-panning.xml diff --git a/editor/extensions/ext-php_savefile.js b/src/editor/extensions/ext-php_savefile.js similarity index 100% rename from editor/extensions/ext-php_savefile.js rename to src/editor/extensions/ext-php_savefile.js diff --git a/editor/extensions/ext-placemark.js b/src/editor/extensions/ext-placemark.js similarity index 100% rename from editor/extensions/ext-placemark.js rename to src/editor/extensions/ext-placemark.js diff --git a/editor/extensions/ext-polygon.js b/src/editor/extensions/ext-polygon.js similarity index 100% rename from editor/extensions/ext-polygon.js rename to src/editor/extensions/ext-polygon.js diff --git a/editor/extensions/ext-server_moinsave.js b/src/editor/extensions/ext-server_moinsave.js similarity index 100% rename from editor/extensions/ext-server_moinsave.js rename to src/editor/extensions/ext-server_moinsave.js diff --git a/editor/extensions/ext-server_opensave.js b/src/editor/extensions/ext-server_opensave.js similarity index 100% rename from editor/extensions/ext-server_opensave.js rename to src/editor/extensions/ext-server_opensave.js diff --git a/editor/extensions/ext-shapes.js b/src/editor/extensions/ext-shapes.js similarity index 100% rename from editor/extensions/ext-shapes.js rename to src/editor/extensions/ext-shapes.js diff --git a/editor/extensions/ext-shapes.xml b/src/editor/extensions/ext-shapes.xml similarity index 100% rename from editor/extensions/ext-shapes.xml rename to src/editor/extensions/ext-shapes.xml diff --git a/editor/extensions/ext-star.js b/src/editor/extensions/ext-star.js similarity index 100% rename from editor/extensions/ext-star.js rename to src/editor/extensions/ext-star.js diff --git a/editor/extensions/ext-storage.js b/src/editor/extensions/ext-storage.js similarity index 100% rename from editor/extensions/ext-storage.js rename to src/editor/extensions/ext-storage.js diff --git a/editor/extensions/ext-webappfind.js b/src/editor/extensions/ext-webappfind.js similarity index 100% rename from editor/extensions/ext-webappfind.js rename to src/editor/extensions/ext-webappfind.js diff --git a/editor/extensions/ext-xdomain-messaging.js b/src/editor/extensions/ext-xdomain-messaging.js similarity index 100% rename from editor/extensions/ext-xdomain-messaging.js rename to src/editor/extensions/ext-xdomain-messaging.js diff --git a/editor/extensions/eyedropper-icon.xml b/src/editor/extensions/eyedropper-icon.xml similarity index 100% rename from editor/extensions/eyedropper-icon.xml rename to src/editor/extensions/eyedropper-icon.xml diff --git a/editor/extensions/eyedropper.png b/src/editor/extensions/eyedropper.png similarity index 100% rename from editor/extensions/eyedropper.png rename to src/editor/extensions/eyedropper.png diff --git a/editor/extensions/fileopen.php b/src/editor/extensions/fileopen.php similarity index 100% rename from editor/extensions/fileopen.php rename to src/editor/extensions/fileopen.php diff --git a/editor/extensions/filesave.php b/src/editor/extensions/filesave.php similarity index 100% rename from editor/extensions/filesave.php rename to src/editor/extensions/filesave.php diff --git a/editor/extensions/foreignobject-edit.png b/src/editor/extensions/foreignobject-edit.png similarity index 100% rename from editor/extensions/foreignobject-edit.png rename to src/editor/extensions/foreignobject-edit.png diff --git a/editor/extensions/foreignobject-icons.xml b/src/editor/extensions/foreignobject-icons.xml similarity index 100% rename from editor/extensions/foreignobject-icons.xml rename to src/editor/extensions/foreignobject-icons.xml diff --git a/editor/extensions/foreignobject-tool.png b/src/editor/extensions/foreignobject-tool.png similarity index 100% rename from editor/extensions/foreignobject-tool.png rename to src/editor/extensions/foreignobject-tool.png diff --git a/editor/extensions/grid-icon.xml b/src/editor/extensions/grid-icon.xml similarity index 100% rename from editor/extensions/grid-icon.xml rename to src/editor/extensions/grid-icon.xml diff --git a/editor/extensions/grid.png b/src/editor/extensions/grid.png similarity index 100% rename from editor/extensions/grid.png rename to src/editor/extensions/grid.png diff --git a/editor/extensions/helloworld-icon.xml b/src/editor/extensions/helloworld-icon.xml similarity index 100% rename from editor/extensions/helloworld-icon.xml rename to src/editor/extensions/helloworld-icon.xml diff --git a/editor/extensions/helloworld.png b/src/editor/extensions/helloworld.png similarity index 100% rename from editor/extensions/helloworld.png rename to src/editor/extensions/helloworld.png diff --git a/editor/extensions/imagelib.png b/src/editor/extensions/imagelib.png similarity index 100% rename from editor/extensions/imagelib.png rename to src/editor/extensions/imagelib.png diff --git a/editor/extensions/imagelib/index-es.html b/src/editor/extensions/imagelib/index-es.html similarity index 100% rename from editor/extensions/imagelib/index-es.html rename to src/editor/extensions/imagelib/index-es.html diff --git a/editor/extensions/imagelib/index.html b/src/editor/extensions/imagelib/index.html similarity index 100% rename from editor/extensions/imagelib/index.html rename to src/editor/extensions/imagelib/index.html diff --git a/editor/extensions/imagelib/index.js b/src/editor/extensions/imagelib/index.js similarity index 100% rename from editor/extensions/imagelib/index.js rename to src/editor/extensions/imagelib/index.js diff --git a/editor/extensions/imagelib/openclipart-es.html b/src/editor/extensions/imagelib/openclipart-es.html similarity index 100% rename from editor/extensions/imagelib/openclipart-es.html rename to src/editor/extensions/imagelib/openclipart-es.html diff --git a/editor/extensions/imagelib/openclipart.html b/src/editor/extensions/imagelib/openclipart.html similarity index 100% rename from editor/extensions/imagelib/openclipart.html rename to src/editor/extensions/imagelib/openclipart.html diff --git a/editor/extensions/imagelib/openclipart.js b/src/editor/extensions/imagelib/openclipart.js similarity index 100% rename from editor/extensions/imagelib/openclipart.js rename to src/editor/extensions/imagelib/openclipart.js diff --git a/editor/extensions/imagelib/smiley.svg b/src/editor/extensions/imagelib/smiley.svg similarity index 100% rename from editor/extensions/imagelib/smiley.svg rename to src/editor/extensions/imagelib/smiley.svg diff --git a/editor/extensions/markers-box.png b/src/editor/extensions/markers-box.png similarity index 100% rename from editor/extensions/markers-box.png rename to src/editor/extensions/markers-box.png diff --git a/editor/extensions/markers-box_o.png b/src/editor/extensions/markers-box_o.png similarity index 100% rename from editor/extensions/markers-box_o.png rename to src/editor/extensions/markers-box_o.png diff --git a/editor/extensions/markers-forwardslash.png b/src/editor/extensions/markers-forwardslash.png similarity index 100% rename from editor/extensions/markers-forwardslash.png rename to src/editor/extensions/markers-forwardslash.png diff --git a/editor/extensions/markers-icons.xml b/src/editor/extensions/markers-icons.xml similarity index 100% rename from editor/extensions/markers-icons.xml rename to src/editor/extensions/markers-icons.xml diff --git a/editor/extensions/markers-leftarrow.png b/src/editor/extensions/markers-leftarrow.png similarity index 100% rename from editor/extensions/markers-leftarrow.png rename to src/editor/extensions/markers-leftarrow.png diff --git a/editor/extensions/markers-leftarrow_o.png b/src/editor/extensions/markers-leftarrow_o.png similarity index 100% rename from editor/extensions/markers-leftarrow_o.png rename to src/editor/extensions/markers-leftarrow_o.png diff --git a/editor/extensions/markers-mcircle.png b/src/editor/extensions/markers-mcircle.png similarity index 100% rename from editor/extensions/markers-mcircle.png rename to src/editor/extensions/markers-mcircle.png diff --git a/editor/extensions/markers-mcircle_o.png b/src/editor/extensions/markers-mcircle_o.png similarity index 100% rename from editor/extensions/markers-mcircle_o.png rename to src/editor/extensions/markers-mcircle_o.png diff --git a/editor/extensions/markers-mkr_markers_dimension.png b/src/editor/extensions/markers-mkr_markers_dimension.png similarity index 100% rename from editor/extensions/markers-mkr_markers_dimension.png rename to src/editor/extensions/markers-mkr_markers_dimension.png diff --git a/editor/extensions/markers-mkr_markers_label.png b/src/editor/extensions/markers-mkr_markers_label.png similarity index 100% rename from editor/extensions/markers-mkr_markers_label.png rename to src/editor/extensions/markers-mkr_markers_label.png diff --git a/editor/extensions/markers-mkr_markers_off.png b/src/editor/extensions/markers-mkr_markers_off.png similarity index 100% rename from editor/extensions/markers-mkr_markers_off.png rename to src/editor/extensions/markers-mkr_markers_off.png diff --git a/editor/extensions/markers-nomarker.png b/src/editor/extensions/markers-nomarker.png similarity index 100% rename from editor/extensions/markers-nomarker.png rename to src/editor/extensions/markers-nomarker.png diff --git a/editor/extensions/markers-reverseslash.png b/src/editor/extensions/markers-reverseslash.png similarity index 100% rename from editor/extensions/markers-reverseslash.png rename to src/editor/extensions/markers-reverseslash.png diff --git a/editor/extensions/markers-rightarrow.png b/src/editor/extensions/markers-rightarrow.png similarity index 100% rename from editor/extensions/markers-rightarrow.png rename to src/editor/extensions/markers-rightarrow.png diff --git a/editor/extensions/markers-rightarrow_o.png b/src/editor/extensions/markers-rightarrow_o.png similarity index 100% rename from editor/extensions/markers-rightarrow_o.png rename to src/editor/extensions/markers-rightarrow_o.png diff --git a/editor/extensions/markers-star.png b/src/editor/extensions/markers-star.png similarity index 100% rename from editor/extensions/markers-star.png rename to src/editor/extensions/markers-star.png diff --git a/editor/extensions/markers-star_o.png b/src/editor/extensions/markers-star_o.png similarity index 100% rename from editor/extensions/markers-star_o.png rename to src/editor/extensions/markers-star_o.png diff --git a/editor/extensions/markers-textmarker.png b/src/editor/extensions/markers-textmarker.png similarity index 100% rename from editor/extensions/markers-textmarker.png rename to src/editor/extensions/markers-textmarker.png diff --git a/editor/extensions/markers-triangle.png b/src/editor/extensions/markers-triangle.png similarity index 100% rename from editor/extensions/markers-triangle.png rename to src/editor/extensions/markers-triangle.png diff --git a/editor/extensions/markers-triangle_o.png b/src/editor/extensions/markers-triangle_o.png similarity index 100% rename from editor/extensions/markers-triangle_o.png rename to src/editor/extensions/markers-triangle_o.png diff --git a/editor/extensions/markers-verticalslash.png b/src/editor/extensions/markers-verticalslash.png similarity index 100% rename from editor/extensions/markers-verticalslash.png rename to src/editor/extensions/markers-verticalslash.png diff --git a/editor/extensions/markers-xmark.png b/src/editor/extensions/markers-xmark.png similarity index 100% rename from editor/extensions/markers-xmark.png rename to src/editor/extensions/markers-xmark.png diff --git a/editor/extensions/mathjax-icons.xml b/src/editor/extensions/mathjax-icons.xml similarity index 100% rename from editor/extensions/mathjax-icons.xml rename to src/editor/extensions/mathjax-icons.xml diff --git a/editor/extensions/mathjax.png b/src/editor/extensions/mathjax.png similarity index 100% rename from editor/extensions/mathjax.png rename to src/editor/extensions/mathjax.png diff --git a/editor/extensions/mathjax/MathJax.min.js b/src/editor/extensions/mathjax/MathJax.min.js similarity index 100% rename from editor/extensions/mathjax/MathJax.min.js rename to src/editor/extensions/mathjax/MathJax.min.js diff --git a/editor/extensions/mathjax/TeX-AMS-MML_SVG.js b/src/editor/extensions/mathjax/TeX-AMS-MML_SVG.js similarity index 100% rename from editor/extensions/mathjax/TeX-AMS-MML_SVG.js rename to src/editor/extensions/mathjax/TeX-AMS-MML_SVG.js diff --git a/editor/extensions/openpath.png b/src/editor/extensions/openpath.png similarity index 100% rename from editor/extensions/openpath.png rename to src/editor/extensions/openpath.png diff --git a/editor/extensions/panning.png b/src/editor/extensions/panning.png similarity index 100% rename from editor/extensions/panning.png rename to src/editor/extensions/panning.png diff --git a/editor/extensions/placemark-icons.xml b/src/editor/extensions/placemark-icons.xml similarity index 100% rename from editor/extensions/placemark-icons.xml rename to src/editor/extensions/placemark-icons.xml diff --git a/editor/extensions/placemark.png b/src/editor/extensions/placemark.png similarity index 100% rename from editor/extensions/placemark.png rename to src/editor/extensions/placemark.png diff --git a/editor/extensions/polygon-icons.svg b/src/editor/extensions/polygon-icons.svg similarity index 100% rename from editor/extensions/polygon-icons.svg rename to src/editor/extensions/polygon-icons.svg diff --git a/editor/extensions/polygon.png b/src/editor/extensions/polygon.png similarity index 100% rename from editor/extensions/polygon.png rename to src/editor/extensions/polygon.png diff --git a/editor/extensions/savefile.php b/src/editor/extensions/savefile.php similarity index 100% rename from editor/extensions/savefile.php rename to src/editor/extensions/savefile.php diff --git a/editor/extensions/shapelib/animal.json b/src/editor/extensions/shapelib/animal.json similarity index 100% rename from editor/extensions/shapelib/animal.json rename to src/editor/extensions/shapelib/animal.json diff --git a/editor/extensions/shapelib/arrow.json b/src/editor/extensions/shapelib/arrow.json similarity index 100% rename from editor/extensions/shapelib/arrow.json rename to src/editor/extensions/shapelib/arrow.json diff --git a/editor/extensions/shapelib/dialog_balloon.json b/src/editor/extensions/shapelib/dialog_balloon.json similarity index 100% rename from editor/extensions/shapelib/dialog_balloon.json rename to src/editor/extensions/shapelib/dialog_balloon.json diff --git a/editor/extensions/shapelib/electronics.json b/src/editor/extensions/shapelib/electronics.json similarity index 100% rename from editor/extensions/shapelib/electronics.json rename to src/editor/extensions/shapelib/electronics.json diff --git a/editor/extensions/shapelib/flowchart.json b/src/editor/extensions/shapelib/flowchart.json similarity index 100% rename from editor/extensions/shapelib/flowchart.json rename to src/editor/extensions/shapelib/flowchart.json diff --git a/editor/extensions/shapelib/game.json b/src/editor/extensions/shapelib/game.json similarity index 100% rename from editor/extensions/shapelib/game.json rename to src/editor/extensions/shapelib/game.json diff --git a/editor/extensions/shapelib/license-MIT-raphael.txt b/src/editor/extensions/shapelib/license-MIT-raphael.txt similarity index 100% rename from editor/extensions/shapelib/license-MIT-raphael.txt rename to src/editor/extensions/shapelib/license-MIT-raphael.txt diff --git a/editor/extensions/shapelib/math.json b/src/editor/extensions/shapelib/math.json similarity index 100% rename from editor/extensions/shapelib/math.json rename to src/editor/extensions/shapelib/math.json diff --git a/editor/extensions/shapelib/misc.json b/src/editor/extensions/shapelib/misc.json similarity index 100% rename from editor/extensions/shapelib/misc.json rename to src/editor/extensions/shapelib/misc.json diff --git a/editor/extensions/shapelib/music.json b/src/editor/extensions/shapelib/music.json similarity index 100% rename from editor/extensions/shapelib/music.json rename to src/editor/extensions/shapelib/music.json diff --git a/editor/extensions/shapelib/object.json b/src/editor/extensions/shapelib/object.json similarity index 100% rename from editor/extensions/shapelib/object.json rename to src/editor/extensions/shapelib/object.json diff --git a/editor/extensions/shapelib/raphael_1.json b/src/editor/extensions/shapelib/raphael_1.json similarity index 100% rename from editor/extensions/shapelib/raphael_1.json rename to src/editor/extensions/shapelib/raphael_1.json diff --git a/editor/extensions/shapelib/raphael_2.json b/src/editor/extensions/shapelib/raphael_2.json similarity index 100% rename from editor/extensions/shapelib/raphael_2.json rename to src/editor/extensions/shapelib/raphael_2.json diff --git a/editor/extensions/shapelib/symbol.json b/src/editor/extensions/shapelib/symbol.json similarity index 100% rename from editor/extensions/shapelib/symbol.json rename to src/editor/extensions/shapelib/symbol.json diff --git a/editor/extensions/shapes.png b/src/editor/extensions/shapes.png similarity index 100% rename from editor/extensions/shapes.png rename to src/editor/extensions/shapes.png diff --git a/editor/extensions/star-icons.svg b/src/editor/extensions/star-icons.svg similarity index 100% rename from editor/extensions/star-icons.svg rename to src/editor/extensions/star-icons.svg diff --git a/editor/extensions/star.png b/src/editor/extensions/star.png similarity index 100% rename from editor/extensions/star.png rename to src/editor/extensions/star.png diff --git a/editor/extensions/webappfind-icon.svg b/src/editor/extensions/webappfind-icon.svg similarity index 100% rename from editor/extensions/webappfind-icon.svg rename to src/editor/extensions/webappfind-icon.svg diff --git a/editor/extensions/webappfind.png b/src/editor/extensions/webappfind.png similarity index 100% rename from editor/extensions/webappfind.png rename to src/editor/extensions/webappfind.png diff --git a/editor/images/README.txt b/src/editor/images/README.txt similarity index 100% rename from editor/images/README.txt rename to src/editor/images/README.txt diff --git a/editor/images/add_subpath.png b/src/editor/images/add_subpath.png similarity index 100% rename from editor/images/add_subpath.png rename to src/editor/images/add_subpath.png diff --git a/editor/images/align-bottom.png b/src/editor/images/align-bottom.png similarity index 100% rename from editor/images/align-bottom.png rename to src/editor/images/align-bottom.png diff --git a/editor/images/align-bottom.svg b/src/editor/images/align-bottom.svg similarity index 100% rename from editor/images/align-bottom.svg rename to src/editor/images/align-bottom.svg diff --git a/editor/images/align-center.png b/src/editor/images/align-center.png similarity index 100% rename from editor/images/align-center.png rename to src/editor/images/align-center.png diff --git a/editor/images/align-center.svg b/src/editor/images/align-center.svg similarity index 100% rename from editor/images/align-center.svg rename to src/editor/images/align-center.svg diff --git a/editor/images/align-left.png b/src/editor/images/align-left.png similarity index 100% rename from editor/images/align-left.png rename to src/editor/images/align-left.png diff --git a/editor/images/align-left.svg b/src/editor/images/align-left.svg similarity index 100% rename from editor/images/align-left.svg rename to src/editor/images/align-left.svg diff --git a/editor/images/align-middle.png b/src/editor/images/align-middle.png similarity index 100% rename from editor/images/align-middle.png rename to src/editor/images/align-middle.png diff --git a/editor/images/align-middle.svg b/src/editor/images/align-middle.svg similarity index 100% rename from editor/images/align-middle.svg rename to src/editor/images/align-middle.svg diff --git a/editor/images/align-right.png b/src/editor/images/align-right.png similarity index 100% rename from editor/images/align-right.png rename to src/editor/images/align-right.png diff --git a/editor/images/align-right.svg b/src/editor/images/align-right.svg similarity index 100% rename from editor/images/align-right.svg rename to src/editor/images/align-right.svg diff --git a/editor/images/align-top.png b/src/editor/images/align-top.png similarity index 100% rename from editor/images/align-top.png rename to src/editor/images/align-top.png diff --git a/editor/images/align-top.svg b/src/editor/images/align-top.svg similarity index 100% rename from editor/images/align-top.svg rename to src/editor/images/align-top.svg diff --git a/editor/images/align.png b/src/editor/images/align.png similarity index 100% rename from editor/images/align.png rename to src/editor/images/align.png diff --git a/editor/images/angle.png b/src/editor/images/angle.png similarity index 100% rename from editor/images/angle.png rename to src/editor/images/angle.png diff --git a/editor/images/arrow_right.png b/src/editor/images/arrow_right.png similarity index 100% rename from editor/images/arrow_right.png rename to src/editor/images/arrow_right.png diff --git a/editor/images/arrow_right_big.png b/src/editor/images/arrow_right_big.png similarity index 100% rename from editor/images/arrow_right_big.png rename to src/editor/images/arrow_right_big.png diff --git a/editor/images/blur.png b/src/editor/images/blur.png similarity index 100% rename from editor/images/blur.png rename to src/editor/images/blur.png diff --git a/editor/images/bold.png b/src/editor/images/bold.png similarity index 100% rename from editor/images/bold.png rename to src/editor/images/bold.png diff --git a/editor/images/c_radius.png b/src/editor/images/c_radius.png similarity index 100% rename from editor/images/c_radius.png rename to src/editor/images/c_radius.png diff --git a/editor/images/cancel.png b/src/editor/images/cancel.png similarity index 100% rename from editor/images/cancel.png rename to src/editor/images/cancel.png diff --git a/editor/images/circle.png b/src/editor/images/circle.png similarity index 100% rename from editor/images/circle.png rename to src/editor/images/circle.png diff --git a/editor/images/clear.png b/src/editor/images/clear.png similarity index 100% rename from editor/images/clear.png rename to src/editor/images/clear.png diff --git a/editor/images/clone.png b/src/editor/images/clone.png similarity index 100% rename from editor/images/clone.png rename to src/editor/images/clone.png diff --git a/editor/images/closepath.png b/src/editor/images/closepath.png similarity index 100% rename from editor/images/closepath.png rename to src/editor/images/closepath.png diff --git a/editor/images/config.png b/src/editor/images/config.png similarity index 100% rename from editor/images/config.png rename to src/editor/images/config.png diff --git a/editor/images/config.svg b/src/editor/images/config.svg similarity index 100% rename from editor/images/config.svg rename to src/editor/images/config.svg diff --git a/editor/images/conn.svg b/src/editor/images/conn.svg similarity index 100% rename from editor/images/conn.svg rename to src/editor/images/conn.svg diff --git a/editor/images/context_menu.png b/src/editor/images/context_menu.png similarity index 100% rename from editor/images/context_menu.png rename to src/editor/images/context_menu.png diff --git a/editor/images/copy.png b/src/editor/images/copy.png similarity index 100% rename from editor/images/copy.png rename to src/editor/images/copy.png diff --git a/editor/images/cut.png b/src/editor/images/cut.png similarity index 100% rename from editor/images/cut.png rename to src/editor/images/cut.png diff --git a/editor/images/delete.png b/src/editor/images/delete.png similarity index 100% rename from editor/images/delete.png rename to src/editor/images/delete.png diff --git a/editor/images/document-properties.png b/src/editor/images/document-properties.png similarity index 100% rename from editor/images/document-properties.png rename to src/editor/images/document-properties.png diff --git a/editor/images/dropdown.gif b/src/editor/images/dropdown.gif similarity index 100% rename from editor/images/dropdown.gif rename to src/editor/images/dropdown.gif diff --git a/editor/images/ellipse.png b/src/editor/images/ellipse.png similarity index 100% rename from editor/images/ellipse.png rename to src/editor/images/ellipse.png diff --git a/editor/images/export.png b/src/editor/images/export.png similarity index 100% rename from editor/images/export.png rename to src/editor/images/export.png diff --git a/editor/images/eye.png b/src/editor/images/eye.png similarity index 100% rename from editor/images/eye.png rename to src/editor/images/eye.png diff --git a/editor/images/fhpath.png b/src/editor/images/fhpath.png similarity index 100% rename from editor/images/fhpath.png rename to src/editor/images/fhpath.png diff --git a/editor/images/fill.png b/src/editor/images/fill.png similarity index 100% rename from editor/images/fill.png rename to src/editor/images/fill.png diff --git a/editor/images/flyouth.png b/src/editor/images/flyouth.png similarity index 100% rename from editor/images/flyouth.png rename to src/editor/images/flyouth.png diff --git a/editor/images/flyup.gif b/src/editor/images/flyup.gif similarity index 100% rename from editor/images/flyup.gif rename to src/editor/images/flyup.gif diff --git a/editor/images/fontsize.png b/src/editor/images/fontsize.png similarity index 100% rename from editor/images/fontsize.png rename to src/editor/images/fontsize.png diff --git a/editor/images/freehand-circle.png b/src/editor/images/freehand-circle.png similarity index 100% rename from editor/images/freehand-circle.png rename to src/editor/images/freehand-circle.png diff --git a/editor/images/freehand-square.png b/src/editor/images/freehand-square.png similarity index 100% rename from editor/images/freehand-square.png rename to src/editor/images/freehand-square.png diff --git a/editor/images/freehand-square.svg b/src/editor/images/freehand-square.svg similarity index 100% rename from editor/images/freehand-square.svg rename to src/editor/images/freehand-square.svg diff --git a/editor/images/globe_link.png b/src/editor/images/globe_link.png similarity index 100% rename from editor/images/globe_link.png rename to src/editor/images/globe_link.png diff --git a/editor/images/go-down.png b/src/editor/images/go-down.png similarity index 100% rename from editor/images/go-down.png rename to src/editor/images/go-down.png diff --git a/editor/images/go-up.png b/src/editor/images/go-up.png similarity index 100% rename from editor/images/go-up.png rename to src/editor/images/go-up.png diff --git a/editor/images/group_elements.png b/src/editor/images/group_elements.png similarity index 100% rename from editor/images/group_elements.png rename to src/editor/images/group_elements.png diff --git a/editor/images/height.png b/src/editor/images/height.png similarity index 100% rename from editor/images/height.png rename to src/editor/images/height.png diff --git a/editor/images/image.png b/src/editor/images/image.png similarity index 100% rename from editor/images/image.png rename to src/editor/images/image.png diff --git a/editor/images/import.png b/src/editor/images/import.png similarity index 100% rename from editor/images/import.png rename to src/editor/images/import.png diff --git a/editor/images/italic.png b/src/editor/images/italic.png similarity index 100% rename from editor/images/italic.png rename to src/editor/images/italic.png diff --git a/editor/images/line.png b/src/editor/images/line.png similarity index 100% rename from editor/images/line.png rename to src/editor/images/line.png diff --git a/editor/images/linecap_butt.png b/src/editor/images/linecap_butt.png similarity index 100% rename from editor/images/linecap_butt.png rename to src/editor/images/linecap_butt.png diff --git a/editor/images/linecap_round.png b/src/editor/images/linecap_round.png similarity index 100% rename from editor/images/linecap_round.png rename to src/editor/images/linecap_round.png diff --git a/editor/images/linecap_square.png b/src/editor/images/linecap_square.png similarity index 100% rename from editor/images/linecap_square.png rename to src/editor/images/linecap_square.png diff --git a/editor/images/linejoin_bevel.png b/src/editor/images/linejoin_bevel.png similarity index 100% rename from editor/images/linejoin_bevel.png rename to src/editor/images/linejoin_bevel.png diff --git a/editor/images/linejoin_miter.png b/src/editor/images/linejoin_miter.png similarity index 100% rename from editor/images/linejoin_miter.png rename to src/editor/images/linejoin_miter.png diff --git a/editor/images/linejoin_round.png b/src/editor/images/linejoin_round.png similarity index 100% rename from editor/images/linejoin_round.png rename to src/editor/images/linejoin_round.png diff --git a/editor/images/link_controls.png b/src/editor/images/link_controls.png similarity index 100% rename from editor/images/link_controls.png rename to src/editor/images/link_controls.png diff --git a/editor/images/logo.png b/src/editor/images/logo.png similarity index 100% rename from editor/images/logo.png rename to src/editor/images/logo.png diff --git a/screencasts/svgopen2010/logo.svg b/src/editor/images/logo.svg similarity index 100% rename from screencasts/svgopen2010/logo.svg rename to src/editor/images/logo.svg diff --git a/editor/images/move_bottom.png b/src/editor/images/move_bottom.png similarity index 100% rename from editor/images/move_bottom.png rename to src/editor/images/move_bottom.png diff --git a/editor/images/move_top.png b/src/editor/images/move_top.png similarity index 100% rename from editor/images/move_top.png rename to src/editor/images/move_top.png diff --git a/editor/images/no_color.png b/src/editor/images/no_color.png similarity index 100% rename from editor/images/no_color.png rename to src/editor/images/no_color.png diff --git a/editor/images/node_clone.png b/src/editor/images/node_clone.png similarity index 100% rename from editor/images/node_clone.png rename to src/editor/images/node_clone.png diff --git a/editor/images/node_delete.png b/src/editor/images/node_delete.png similarity index 100% rename from editor/images/node_delete.png rename to src/editor/images/node_delete.png diff --git a/editor/images/none.png b/src/editor/images/none.png similarity index 100% rename from editor/images/none.png rename to src/editor/images/none.png diff --git a/editor/images/opacity.png b/src/editor/images/opacity.png similarity index 100% rename from editor/images/opacity.png rename to src/editor/images/opacity.png diff --git a/editor/images/open.png b/src/editor/images/open.png similarity index 100% rename from editor/images/open.png rename to src/editor/images/open.png diff --git a/editor/images/openpath.png b/src/editor/images/openpath.png similarity index 100% rename from editor/images/openpath.png rename to src/editor/images/openpath.png diff --git a/editor/images/paste.png b/src/editor/images/paste.png similarity index 100% rename from editor/images/paste.png rename to src/editor/images/paste.png diff --git a/editor/images/path.png b/src/editor/images/path.png similarity index 100% rename from editor/images/path.png rename to src/editor/images/path.png diff --git a/editor/images/polygon.png b/src/editor/images/polygon.png similarity index 100% rename from editor/images/polygon.png rename to src/editor/images/polygon.png diff --git a/editor/images/polygon.svg b/src/editor/images/polygon.svg similarity index 100% rename from editor/images/polygon.svg rename to src/editor/images/polygon.svg diff --git a/editor/images/rect.png b/src/editor/images/rect.png similarity index 100% rename from editor/images/rect.png rename to src/editor/images/rect.png diff --git a/editor/images/redo.png b/src/editor/images/redo.png similarity index 100% rename from editor/images/redo.png rename to src/editor/images/redo.png diff --git a/editor/images/reorient.png b/src/editor/images/reorient.png similarity index 100% rename from editor/images/reorient.png rename to src/editor/images/reorient.png diff --git a/editor/images/rotate.png b/src/editor/images/rotate.png similarity index 100% rename from editor/images/rotate.png rename to src/editor/images/rotate.png diff --git a/editor/images/save.png b/src/editor/images/save.png similarity index 100% rename from editor/images/save.png rename to src/editor/images/save.png diff --git a/editor/images/select.png b/src/editor/images/select.png similarity index 100% rename from editor/images/select.png rename to src/editor/images/select.png diff --git a/editor/images/select_node.png b/src/editor/images/select_node.png similarity index 100% rename from editor/images/select_node.png rename to src/editor/images/select_node.png diff --git a/editor/images/sep.png b/src/editor/images/sep.png similarity index 100% rename from editor/images/sep.png rename to src/editor/images/sep.png diff --git a/editor/images/shape_group_elements.png b/src/editor/images/shape_group_elements.png similarity index 100% rename from editor/images/shape_group_elements.png rename to src/editor/images/shape_group_elements.png diff --git a/editor/images/shape_ungroup.png b/src/editor/images/shape_ungroup.png similarity index 100% rename from editor/images/shape_ungroup.png rename to src/editor/images/shape_ungroup.png diff --git a/editor/images/source.png b/src/editor/images/source.png similarity index 100% rename from editor/images/source.png rename to src/editor/images/source.png diff --git a/editor/images/spinbtn_updn_big.png b/src/editor/images/spinbtn_updn_big.png similarity index 100% rename from editor/images/spinbtn_updn_big.png rename to src/editor/images/spinbtn_updn_big.png diff --git a/editor/images/square.png b/src/editor/images/square.png similarity index 100% rename from editor/images/square.png rename to src/editor/images/square.png diff --git a/editor/images/stroke.png b/src/editor/images/stroke.png similarity index 100% rename from editor/images/stroke.png rename to src/editor/images/stroke.png diff --git a/editor/images/svg_edit_icons.svg b/src/editor/images/svg_edit_icons.svg similarity index 100% rename from editor/images/svg_edit_icons.svg rename to src/editor/images/svg_edit_icons.svg diff --git a/editor/images/svg_edit_icons.svgz b/src/editor/images/svg_edit_icons.svgz similarity index 100% rename from editor/images/svg_edit_icons.svgz rename to src/editor/images/svg_edit_icons.svgz diff --git a/editor/images/text.png b/src/editor/images/text.png similarity index 100% rename from editor/images/text.png rename to src/editor/images/text.png diff --git a/editor/images/text.svg b/src/editor/images/text.svg similarity index 100% rename from editor/images/text.svg rename to src/editor/images/text.svg diff --git a/editor/images/to_path.png b/src/editor/images/to_path.png similarity index 100% rename from editor/images/to_path.png rename to src/editor/images/to_path.png diff --git a/editor/images/undo.png b/src/editor/images/undo.png similarity index 100% rename from editor/images/undo.png rename to src/editor/images/undo.png diff --git a/editor/images/unlink_use.png b/src/editor/images/unlink_use.png similarity index 100% rename from editor/images/unlink_use.png rename to src/editor/images/unlink_use.png diff --git a/editor/images/view-refresh.png b/src/editor/images/view-refresh.png similarity index 100% rename from editor/images/view-refresh.png rename to src/editor/images/view-refresh.png diff --git a/editor/images/warning.png b/src/editor/images/warning.png similarity index 100% rename from editor/images/warning.png rename to src/editor/images/warning.png diff --git a/editor/images/width.png b/src/editor/images/width.png similarity index 100% rename from editor/images/width.png rename to src/editor/images/width.png diff --git a/editor/images/wireframe.png b/src/editor/images/wireframe.png similarity index 100% rename from editor/images/wireframe.png rename to src/editor/images/wireframe.png diff --git a/editor/images/zoom.png b/src/editor/images/zoom.png similarity index 100% rename from editor/images/zoom.png rename to src/editor/images/zoom.png diff --git a/editor/jgraduate/LICENSE-Apache2.0.txt b/src/editor/jgraduate/LICENSE-Apache2.0.txt similarity index 100% rename from editor/jgraduate/LICENSE-Apache2.0.txt rename to src/editor/jgraduate/LICENSE-Apache2.0.txt diff --git a/editor/jgraduate/README b/src/editor/jgraduate/README similarity index 100% rename from editor/jgraduate/README rename to src/editor/jgraduate/README diff --git a/editor/jgraduate/css/jGraduate.css b/src/editor/jgraduate/css/jGraduate.css similarity index 100% rename from editor/jgraduate/css/jGraduate.css rename to src/editor/jgraduate/css/jGraduate.css diff --git a/editor/jgraduate/css/jPicker.css b/src/editor/jgraduate/css/jPicker.css similarity index 100% rename from editor/jgraduate/css/jPicker.css rename to src/editor/jgraduate/css/jPicker.css diff --git a/editor/jgraduate/images/AlphaBar.png b/src/editor/jgraduate/images/AlphaBar.png similarity index 100% rename from editor/jgraduate/images/AlphaBar.png rename to src/editor/jgraduate/images/AlphaBar.png diff --git a/editor/jgraduate/images/Bars.png b/src/editor/jgraduate/images/Bars.png similarity index 100% rename from editor/jgraduate/images/Bars.png rename to src/editor/jgraduate/images/Bars.png diff --git a/editor/jgraduate/images/Maps.png b/src/editor/jgraduate/images/Maps.png similarity index 100% rename from editor/jgraduate/images/Maps.png rename to src/editor/jgraduate/images/Maps.png diff --git a/editor/jgraduate/images/NoColor.png b/src/editor/jgraduate/images/NoColor.png similarity index 100% rename from editor/jgraduate/images/NoColor.png rename to src/editor/jgraduate/images/NoColor.png diff --git a/editor/jgraduate/images/bar-opacity.png b/src/editor/jgraduate/images/bar-opacity.png similarity index 100% rename from editor/jgraduate/images/bar-opacity.png rename to src/editor/jgraduate/images/bar-opacity.png diff --git a/editor/jgraduate/images/map-opacity.png b/src/editor/jgraduate/images/map-opacity.png similarity index 100% rename from editor/jgraduate/images/map-opacity.png rename to src/editor/jgraduate/images/map-opacity.png diff --git a/editor/jgraduate/images/mappoint.gif b/src/editor/jgraduate/images/mappoint.gif similarity index 100% rename from editor/jgraduate/images/mappoint.gif rename to src/editor/jgraduate/images/mappoint.gif diff --git a/editor/jgraduate/images/mappoint_c.png b/src/editor/jgraduate/images/mappoint_c.png similarity index 100% rename from editor/jgraduate/images/mappoint_c.png rename to src/editor/jgraduate/images/mappoint_c.png diff --git a/editor/jgraduate/images/mappoint_f.png b/src/editor/jgraduate/images/mappoint_f.png similarity index 100% rename from editor/jgraduate/images/mappoint_f.png rename to src/editor/jgraduate/images/mappoint_f.png diff --git a/editor/jgraduate/images/picker.gif b/src/editor/jgraduate/images/picker.gif similarity index 100% rename from editor/jgraduate/images/picker.gif rename to src/editor/jgraduate/images/picker.gif diff --git a/editor/jgraduate/images/preview-opacity.png b/src/editor/jgraduate/images/preview-opacity.png similarity index 100% rename from editor/jgraduate/images/preview-opacity.png rename to src/editor/jgraduate/images/preview-opacity.png diff --git a/editor/jgraduate/images/rangearrows.gif b/src/editor/jgraduate/images/rangearrows.gif similarity index 100% rename from editor/jgraduate/images/rangearrows.gif rename to src/editor/jgraduate/images/rangearrows.gif diff --git a/editor/jgraduate/images/rangearrows2.gif b/src/editor/jgraduate/images/rangearrows2.gif similarity index 100% rename from editor/jgraduate/images/rangearrows2.gif rename to src/editor/jgraduate/images/rangearrows2.gif diff --git a/editor/jgraduate/jQuery.jGraduate.js b/src/editor/jgraduate/jQuery.jGraduate.js similarity index 100% rename from editor/jgraduate/jQuery.jGraduate.js rename to src/editor/jgraduate/jQuery.jGraduate.js diff --git a/editor/jgraduate/jQuery.jPicker.js b/src/editor/jgraduate/jQuery.jPicker.js similarity index 100% rename from editor/jgraduate/jQuery.jPicker.js rename to src/editor/jgraduate/jQuery.jPicker.js diff --git a/editor/jquery-ui/jquery-ui-1.8.17.custom.min.js b/src/editor/jquery-ui/jquery-ui-1.8.17.custom.min.js similarity index 100% rename from editor/jquery-ui/jquery-ui-1.8.17.custom.min.js rename to src/editor/jquery-ui/jquery-ui-1.8.17.custom.min.js diff --git a/editor/jquery.min.js b/src/editor/jquery.min.js similarity index 100% rename from editor/jquery.min.js rename to src/editor/jquery.min.js diff --git a/editor/js-hotkeys/README.md b/src/editor/js-hotkeys/README.md similarity index 100% rename from editor/js-hotkeys/README.md rename to src/editor/js-hotkeys/README.md diff --git a/editor/js-hotkeys/jquery.hotkeys.min.js b/src/editor/js-hotkeys/jquery.hotkeys.min.js similarity index 100% rename from editor/js-hotkeys/jquery.hotkeys.min.js rename to src/editor/js-hotkeys/jquery.hotkeys.min.js diff --git a/editor/jspdf/jspdf.min.js b/src/editor/jspdf/jspdf.min.js similarity index 100% rename from editor/jspdf/jspdf.min.js rename to src/editor/jspdf/jspdf.min.js diff --git a/editor/jspdf/jspdf.plugin.svgToPdf.js b/src/editor/jspdf/jspdf.plugin.svgToPdf.js similarity index 100% rename from editor/jspdf/jspdf.plugin.svgToPdf.js rename to src/editor/jspdf/jspdf.plugin.svgToPdf.js diff --git a/editor/jspdf/underscore-min.js b/src/editor/jspdf/underscore-min.js similarity index 100% rename from editor/jspdf/underscore-min.js rename to src/editor/jspdf/underscore-min.js diff --git a/editor/jspdf/underscore-min.js.map b/src/editor/jspdf/underscore-min.js.map similarity index 100% rename from editor/jspdf/underscore-min.js.map rename to src/editor/jspdf/underscore-min.js.map diff --git a/editor/jspdf/underscore-min.map b/src/editor/jspdf/underscore-min.map similarity index 100% rename from editor/jspdf/underscore-min.map rename to src/editor/jspdf/underscore-min.map diff --git a/editor/locale/README.txt b/src/editor/locale/README.txt similarity index 100% rename from editor/locale/README.txt rename to src/editor/locale/README.txt diff --git a/editor/locale/lang.af.js b/src/editor/locale/lang.af.js similarity index 100% rename from editor/locale/lang.af.js rename to src/editor/locale/lang.af.js diff --git a/editor/locale/lang.ar.js b/src/editor/locale/lang.ar.js similarity index 100% rename from editor/locale/lang.ar.js rename to src/editor/locale/lang.ar.js diff --git a/editor/locale/lang.az.js b/src/editor/locale/lang.az.js similarity index 100% rename from editor/locale/lang.az.js rename to src/editor/locale/lang.az.js diff --git a/editor/locale/lang.be.js b/src/editor/locale/lang.be.js similarity index 100% rename from editor/locale/lang.be.js rename to src/editor/locale/lang.be.js diff --git a/editor/locale/lang.bg.js b/src/editor/locale/lang.bg.js similarity index 100% rename from editor/locale/lang.bg.js rename to src/editor/locale/lang.bg.js diff --git a/editor/locale/lang.ca.js b/src/editor/locale/lang.ca.js similarity index 100% rename from editor/locale/lang.ca.js rename to src/editor/locale/lang.ca.js diff --git a/editor/locale/lang.cs.js b/src/editor/locale/lang.cs.js similarity index 100% rename from editor/locale/lang.cs.js rename to src/editor/locale/lang.cs.js diff --git a/editor/locale/lang.cy.js b/src/editor/locale/lang.cy.js similarity index 100% rename from editor/locale/lang.cy.js rename to src/editor/locale/lang.cy.js diff --git a/editor/locale/lang.da.js b/src/editor/locale/lang.da.js similarity index 100% rename from editor/locale/lang.da.js rename to src/editor/locale/lang.da.js diff --git a/editor/locale/lang.de.js b/src/editor/locale/lang.de.js similarity index 100% rename from editor/locale/lang.de.js rename to src/editor/locale/lang.de.js diff --git a/editor/locale/lang.el.js b/src/editor/locale/lang.el.js similarity index 100% rename from editor/locale/lang.el.js rename to src/editor/locale/lang.el.js diff --git a/editor/locale/lang.en.js b/src/editor/locale/lang.en.js similarity index 100% rename from editor/locale/lang.en.js rename to src/editor/locale/lang.en.js diff --git a/editor/locale/lang.es.js b/src/editor/locale/lang.es.js similarity index 100% rename from editor/locale/lang.es.js rename to src/editor/locale/lang.es.js diff --git a/editor/locale/lang.et.js b/src/editor/locale/lang.et.js similarity index 100% rename from editor/locale/lang.et.js rename to src/editor/locale/lang.et.js diff --git a/editor/locale/lang.fa.js b/src/editor/locale/lang.fa.js similarity index 100% rename from editor/locale/lang.fa.js rename to src/editor/locale/lang.fa.js diff --git a/editor/locale/lang.fi.js b/src/editor/locale/lang.fi.js similarity index 100% rename from editor/locale/lang.fi.js rename to src/editor/locale/lang.fi.js diff --git a/editor/locale/lang.fr.js b/src/editor/locale/lang.fr.js similarity index 100% rename from editor/locale/lang.fr.js rename to src/editor/locale/lang.fr.js diff --git a/editor/locale/lang.fy.js b/src/editor/locale/lang.fy.js similarity index 100% rename from editor/locale/lang.fy.js rename to src/editor/locale/lang.fy.js diff --git a/editor/locale/lang.ga.js b/src/editor/locale/lang.ga.js similarity index 100% rename from editor/locale/lang.ga.js rename to src/editor/locale/lang.ga.js diff --git a/editor/locale/lang.gl.js b/src/editor/locale/lang.gl.js similarity index 100% rename from editor/locale/lang.gl.js rename to src/editor/locale/lang.gl.js diff --git a/editor/locale/lang.he.js b/src/editor/locale/lang.he.js similarity index 100% rename from editor/locale/lang.he.js rename to src/editor/locale/lang.he.js diff --git a/editor/locale/lang.hi.js b/src/editor/locale/lang.hi.js similarity index 100% rename from editor/locale/lang.hi.js rename to src/editor/locale/lang.hi.js diff --git a/editor/locale/lang.hr.js b/src/editor/locale/lang.hr.js similarity index 100% rename from editor/locale/lang.hr.js rename to src/editor/locale/lang.hr.js diff --git a/editor/locale/lang.hu.js b/src/editor/locale/lang.hu.js similarity index 100% rename from editor/locale/lang.hu.js rename to src/editor/locale/lang.hu.js diff --git a/editor/locale/lang.hy.js b/src/editor/locale/lang.hy.js similarity index 100% rename from editor/locale/lang.hy.js rename to src/editor/locale/lang.hy.js diff --git a/editor/locale/lang.id.js b/src/editor/locale/lang.id.js similarity index 100% rename from editor/locale/lang.id.js rename to src/editor/locale/lang.id.js diff --git a/editor/locale/lang.is.js b/src/editor/locale/lang.is.js similarity index 100% rename from editor/locale/lang.is.js rename to src/editor/locale/lang.is.js diff --git a/editor/locale/lang.it.js b/src/editor/locale/lang.it.js similarity index 100% rename from editor/locale/lang.it.js rename to src/editor/locale/lang.it.js diff --git a/editor/locale/lang.ja.js b/src/editor/locale/lang.ja.js similarity index 100% rename from editor/locale/lang.ja.js rename to src/editor/locale/lang.ja.js diff --git a/editor/locale/lang.ko.js b/src/editor/locale/lang.ko.js similarity index 100% rename from editor/locale/lang.ko.js rename to src/editor/locale/lang.ko.js diff --git a/editor/locale/lang.lt.js b/src/editor/locale/lang.lt.js similarity index 100% rename from editor/locale/lang.lt.js rename to src/editor/locale/lang.lt.js diff --git a/editor/locale/lang.lv.js b/src/editor/locale/lang.lv.js similarity index 100% rename from editor/locale/lang.lv.js rename to src/editor/locale/lang.lv.js diff --git a/editor/locale/lang.mk.js b/src/editor/locale/lang.mk.js similarity index 100% rename from editor/locale/lang.mk.js rename to src/editor/locale/lang.mk.js diff --git a/editor/locale/lang.ms.js b/src/editor/locale/lang.ms.js similarity index 100% rename from editor/locale/lang.ms.js rename to src/editor/locale/lang.ms.js diff --git a/editor/locale/lang.mt.js b/src/editor/locale/lang.mt.js similarity index 100% rename from editor/locale/lang.mt.js rename to src/editor/locale/lang.mt.js diff --git a/editor/locale/lang.nl.js b/src/editor/locale/lang.nl.js similarity index 100% rename from editor/locale/lang.nl.js rename to src/editor/locale/lang.nl.js diff --git a/editor/locale/lang.no.js b/src/editor/locale/lang.no.js similarity index 100% rename from editor/locale/lang.no.js rename to src/editor/locale/lang.no.js diff --git a/editor/locale/lang.pl.js b/src/editor/locale/lang.pl.js similarity index 100% rename from editor/locale/lang.pl.js rename to src/editor/locale/lang.pl.js diff --git a/editor/locale/lang.pt-BR.js b/src/editor/locale/lang.pt-BR.js similarity index 100% rename from editor/locale/lang.pt-BR.js rename to src/editor/locale/lang.pt-BR.js diff --git a/editor/locale/lang.pt-PT.js b/src/editor/locale/lang.pt-PT.js similarity index 100% rename from editor/locale/lang.pt-PT.js rename to src/editor/locale/lang.pt-PT.js diff --git a/editor/locale/lang.ro.js b/src/editor/locale/lang.ro.js similarity index 100% rename from editor/locale/lang.ro.js rename to src/editor/locale/lang.ro.js diff --git a/editor/locale/lang.ru.js b/src/editor/locale/lang.ru.js similarity index 100% rename from editor/locale/lang.ru.js rename to src/editor/locale/lang.ru.js diff --git a/editor/locale/lang.sk.js b/src/editor/locale/lang.sk.js similarity index 100% rename from editor/locale/lang.sk.js rename to src/editor/locale/lang.sk.js diff --git a/editor/locale/lang.sl.js b/src/editor/locale/lang.sl.js similarity index 100% rename from editor/locale/lang.sl.js rename to src/editor/locale/lang.sl.js diff --git a/editor/locale/lang.sq.js b/src/editor/locale/lang.sq.js similarity index 100% rename from editor/locale/lang.sq.js rename to src/editor/locale/lang.sq.js diff --git a/editor/locale/lang.sr.js b/src/editor/locale/lang.sr.js similarity index 100% rename from editor/locale/lang.sr.js rename to src/editor/locale/lang.sr.js diff --git a/editor/locale/lang.sv.js b/src/editor/locale/lang.sv.js similarity index 100% rename from editor/locale/lang.sv.js rename to src/editor/locale/lang.sv.js diff --git a/editor/locale/lang.sw.js b/src/editor/locale/lang.sw.js similarity index 100% rename from editor/locale/lang.sw.js rename to src/editor/locale/lang.sw.js diff --git a/editor/locale/lang.test.js b/src/editor/locale/lang.test.js similarity index 100% rename from editor/locale/lang.test.js rename to src/editor/locale/lang.test.js diff --git a/editor/locale/lang.th.js b/src/editor/locale/lang.th.js similarity index 100% rename from editor/locale/lang.th.js rename to src/editor/locale/lang.th.js diff --git a/editor/locale/lang.tl.js b/src/editor/locale/lang.tl.js similarity index 100% rename from editor/locale/lang.tl.js rename to src/editor/locale/lang.tl.js diff --git a/editor/locale/lang.tr.js b/src/editor/locale/lang.tr.js similarity index 100% rename from editor/locale/lang.tr.js rename to src/editor/locale/lang.tr.js diff --git a/editor/locale/lang.uk.js b/src/editor/locale/lang.uk.js similarity index 100% rename from editor/locale/lang.uk.js rename to src/editor/locale/lang.uk.js diff --git a/editor/locale/lang.vi.js b/src/editor/locale/lang.vi.js similarity index 100% rename from editor/locale/lang.vi.js rename to src/editor/locale/lang.vi.js diff --git a/editor/locale/lang.yi.js b/src/editor/locale/lang.yi.js similarity index 100% rename from editor/locale/lang.yi.js rename to src/editor/locale/lang.yi.js diff --git a/editor/locale/lang.zh-CN.js b/src/editor/locale/lang.zh-CN.js similarity index 100% rename from editor/locale/lang.zh-CN.js rename to src/editor/locale/lang.zh-CN.js diff --git a/editor/locale/lang.zh-HK.js b/src/editor/locale/lang.zh-HK.js similarity index 100% rename from editor/locale/lang.zh-HK.js rename to src/editor/locale/lang.zh-HK.js diff --git a/editor/locale/lang.zh-TW.js b/src/editor/locale/lang.zh-TW.js similarity index 100% rename from editor/locale/lang.zh-TW.js rename to src/editor/locale/lang.zh-TW.js diff --git a/editor/locale/locale.js b/src/editor/locale/locale.js similarity index 99% rename from editor/locale/locale.js rename to src/editor/locale/locale.js index 9891584e..9a5a1c8c 100644 --- a/editor/locale/locale.js +++ b/src/editor/locale/locale.js @@ -25,7 +25,7 @@ * @typedef {PlainObject} module:locale.LocaleSelectorValue */ -import {importSetGlobalDefault} from '../external/dynamic-import-polyfill/importModule.js'; +import {importSetGlobalDefault} from '../../external/dynamic-import-polyfill/importModule.js'; const $ = jQuery; diff --git a/editor/redirect-on-lacking-support.js b/src/editor/redirect-on-lacking-support.js similarity index 60% rename from editor/redirect-on-lacking-support.js rename to src/editor/redirect-on-lacking-support.js index e967f094..51aa7956 100644 --- a/editor/redirect-on-lacking-support.js +++ b/src/editor/redirect-on-lacking-support.js @@ -1,4 +1,4 @@ -import {supportsSvg} from './browser.js'; +import {supportsSvg} from '../common/browser.js'; if (!supportsSvg()) { window.location = 'browser-not-supported.html'; diff --git a/editor/redirect-on-no-module-support.js b/src/editor/redirect-on-no-module-support.js similarity index 100% rename from editor/redirect-on-no-module-support.js rename to src/editor/redirect-on-no-module-support.js diff --git a/editor/spinbtn/jQuery.SpinButton.css b/src/editor/spinbtn/jQuery.SpinButton.css similarity index 100% rename from editor/spinbtn/jQuery.SpinButton.css rename to src/editor/spinbtn/jQuery.SpinButton.css diff --git a/editor/spinbtn/jQuery.SpinButton.js b/src/editor/spinbtn/jQuery.SpinButton.js similarity index 100% rename from editor/spinbtn/jQuery.SpinButton.js rename to src/editor/spinbtn/jQuery.SpinButton.js diff --git a/editor/spinbtn/spinbtn_updn.png b/src/editor/spinbtn/spinbtn_updn.png similarity index 100% rename from editor/spinbtn/spinbtn_updn.png rename to src/editor/spinbtn/spinbtn_updn.png diff --git a/editor/svg-editor-es.html b/src/editor/svg-editor-es.html similarity index 99% rename from editor/svg-editor-es.html rename to src/editor/svg-editor-es.html index 296b639d..32e4a4b1 100644 --- a/editor/svg-editor-es.html +++ b/src/editor/svg-editor-es.html @@ -30,15 +30,15 @@ - + - - + + - +