fix editor start with src and dist using es-dev-server

This commit is contained in:
jfh
2020-09-01 00:15:18 +02:00
parent 0bfee46b33
commit 4643bab371
345 changed files with 29074 additions and 26260 deletions

View File

@@ -1651,8 +1651,13 @@ System.register([], function (exports) {
return _wrapRegExp.apply(this, arguments);
}
var polygonIcons = "polygon-icons.svg";
/**
* @file ext-polygon.js
*
*
* @copyright 2010 CloudCanvas, Inc. All rights reserved
*
*/
var extPolygon = exports('default', {
name: 'polygon',
init: function init(S) {
@@ -1743,7 +1748,7 @@ System.register([], function (exports) {
*/
buttons = [{
id: 'tool_polygon',
icon: svgEditor.curConfig.extIconsPath + 'polygon.png',
icon: 'polygon.png',
type: 'mode',
position: 11,
events: {
@@ -1767,7 +1772,7 @@ System.register([], function (exports) {
}];
return _context.abrupt("return", {
name: strings.name,
svgicons: svgEditor.curConfig.extIconsPath + 'polygon-icons.svg',
svgicons: 'polygon-icons.svg',
buttons: strings.buttons.map(function (button, i) {
return Object.assign(buttons[i], button);
}),