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

@@ -1646,8 +1646,14 @@ function _wrapRegExp(re, groups) {
return _wrapRegExp.apply(this, arguments);
}
var eyedropperIcon = "eyedropper-icon.xml";
/**
* @file ext-eyedropper.js
*
* @license MIT
*
* @copyright 2010 Jeff Schiller
*
*/
var extEyedropper = {
name: 'eyedropper',
init: function init(S) {
@@ -1716,7 +1722,7 @@ var extEyedropper = {
buttons = [{
id: 'tool_eyedropper',
icon: svgEditor.curConfig.extIconsPath + 'eyedropper.png',
icon: 'eyedropper.png',
type: 'mode',
events: {
click: function click() {
@@ -1726,7 +1732,7 @@ var extEyedropper = {
}];
return _context.abrupt("return", {
name: strings.name,
svgicons: svgEditor.curConfig.extIconsPath + 'eyedropper-icon.xml',
svgicons: 'eyedropper-icon.xml',
buttons: strings.buttons.map(function (button, i) {
return Object.assign(buttons[i], button);
}),