- Fix (regression): Bad name on function passed to path.js
- Linting (ESLint): Fix semi-colon error
This commit is contained in:
24
dist/index-es.js
vendored
24
dist/index-es.js
vendored
@@ -11212,6 +11212,11 @@ var Layer = function () {
|
||||
}]);
|
||||
return Layer;
|
||||
}();
|
||||
/**
|
||||
* @property {string} CLASS_NAME - class attribute assigned to all layer groups.
|
||||
*/
|
||||
|
||||
|
||||
Layer.CLASS_NAME = 'layer';
|
||||
|
||||
/**
|
||||
@@ -11427,6 +11432,11 @@ var HistoryRecordingService = function () {
|
||||
}]);
|
||||
return HistoryRecordingService;
|
||||
}();
|
||||
/**
|
||||
* @property {HistoryRecordingService} NO_HISTORY - Singleton that can be passed to functions that record history, but the caller requires that no history be recorded.
|
||||
*/
|
||||
|
||||
|
||||
HistoryRecordingService.NO_HISTORY = new HistoryRecordingService();
|
||||
|
||||
/* globals jQuery */
|
||||
@@ -14384,8 +14394,8 @@ if (window.opera) {
|
||||
* @param {Object} config - An object that contains configuration data
|
||||
*/
|
||||
|
||||
var _class = function _class(container, config) {
|
||||
classCallCheck(this, _class);
|
||||
var SvgCanvas = function SvgCanvas(container, config) {
|
||||
classCallCheck(this, SvgCanvas);
|
||||
|
||||
// Alias Namespace constants
|
||||
|
||||
@@ -15015,7 +15025,7 @@ var _class = function _class(container, config) {
|
||||
getCurrentMode: function getCurrentMode() {
|
||||
return currentMode;
|
||||
},
|
||||
setCurrentmode: function setCurrentmode(cm) {
|
||||
setCurrentMode: function setCurrentMode(cm) {
|
||||
currentMode = cm;
|
||||
return currentMode;
|
||||
},
|
||||
@@ -23071,7 +23081,7 @@ Math.precision = function (value, precision) {
|
||||
return Math.round(value * Math.pow(10, precision)) / Math.pow(10, precision);
|
||||
};
|
||||
|
||||
function jqPluginJPicker ($) {
|
||||
var jPicker = function jPicker($) {
|
||||
if (!$.loadingStylesheets) {
|
||||
$.loadingStylesheets = [];
|
||||
}
|
||||
@@ -24869,7 +24879,7 @@ function jqPluginJPicker ($) {
|
||||
}
|
||||
};
|
||||
return $;
|
||||
}
|
||||
};
|
||||
|
||||
/* globals jQuery */
|
||||
/*
|
||||
@@ -25298,7 +25308,7 @@ function loadStylesheets(stylesheets) {
|
||||
|
||||
/* globals jQuery */
|
||||
|
||||
var $$b = [jqPluginJSHotkeys, jqPluginBBQ, jqPluginSVGIcons, jqPluginJGraduate, jqPluginSpinBtn, jqPluginSVG, jqPluginContextMenu, jqPluginJPicker].reduce(function ($, cb) {
|
||||
var $$b = [jqPluginJSHotkeys, jqPluginBBQ, jqPluginSVGIcons, jqPluginJGraduate, jqPluginSpinBtn, jqPluginSVG, jqPluginContextMenu, jPicker].reduce(function ($, cb) {
|
||||
return cb($);
|
||||
}, jQuery);
|
||||
|
||||
@@ -26293,7 +26303,7 @@ editor.init = function () {
|
||||
}
|
||||
});
|
||||
|
||||
editor.canvas = svgCanvas = new _class(document.getElementById('svgcanvas'), curConfig);
|
||||
editor.canvas = svgCanvas = new SvgCanvas(document.getElementById('svgcanvas'), curConfig);
|
||||
var palette = [// Todo: Make into configuration item?
|
||||
'#000000', '#3f3f3f', '#7f7f7f', '#bfbfbf', '#ffffff', '#ff0000', '#ff7f00', '#ffff00', '#7fff00', '#00ff00', '#00ff7f', '#00ffff', '#007fff', '#0000ff', '#7f00ff', '#ff00ff', '#ff007f', '#7f0000', '#7f3f00', '#7f7f00', '#3f7f00', '#007f00', '#007f3f', '#007f7f', '#003f7f', '#00007f', '#3f007f', '#7f007f', '#7f003f', '#ffaaaa', '#ffd4aa', '#ffffaa', '#d4ffaa', '#aaffaa', '#aaffd4', '#aaffff', '#aad4ff', '#aaaaff', '#d4aaff', '#ffaaff', '#ffaad4'],
|
||||
modKey = isMac() ? 'meta+' : 'ctrl+',
|
||||
|
||||
2
dist/index-es.min.js
vendored
2
dist/index-es.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-es.min.js.map
vendored
2
dist/index-es.min.js.map
vendored
File diff suppressed because one or more lines are too long
24
dist/index-umd.js
vendored
24
dist/index-umd.js
vendored
@@ -11218,6 +11218,11 @@
|
||||
}]);
|
||||
return Layer;
|
||||
}();
|
||||
/**
|
||||
* @property {string} CLASS_NAME - class attribute assigned to all layer groups.
|
||||
*/
|
||||
|
||||
|
||||
Layer.CLASS_NAME = 'layer';
|
||||
|
||||
/**
|
||||
@@ -11433,6 +11438,11 @@
|
||||
}]);
|
||||
return HistoryRecordingService;
|
||||
}();
|
||||
/**
|
||||
* @property {HistoryRecordingService} NO_HISTORY - Singleton that can be passed to functions that record history, but the caller requires that no history be recorded.
|
||||
*/
|
||||
|
||||
|
||||
HistoryRecordingService.NO_HISTORY = new HistoryRecordingService();
|
||||
|
||||
/* globals jQuery */
|
||||
@@ -14390,8 +14400,8 @@
|
||||
* @param {Object} config - An object that contains configuration data
|
||||
*/
|
||||
|
||||
var _class = function _class(container, config) {
|
||||
classCallCheck(this, _class);
|
||||
var SvgCanvas = function SvgCanvas(container, config) {
|
||||
classCallCheck(this, SvgCanvas);
|
||||
|
||||
// Alias Namespace constants
|
||||
|
||||
@@ -15021,7 +15031,7 @@
|
||||
getCurrentMode: function getCurrentMode() {
|
||||
return currentMode;
|
||||
},
|
||||
setCurrentmode: function setCurrentmode(cm) {
|
||||
setCurrentMode: function setCurrentMode(cm) {
|
||||
currentMode = cm;
|
||||
return currentMode;
|
||||
},
|
||||
@@ -23077,7 +23087,7 @@
|
||||
return Math.round(value * Math.pow(10, precision)) / Math.pow(10, precision);
|
||||
};
|
||||
|
||||
function jqPluginJPicker ($) {
|
||||
var jPicker = function jPicker($) {
|
||||
if (!$.loadingStylesheets) {
|
||||
$.loadingStylesheets = [];
|
||||
}
|
||||
@@ -24875,7 +24885,7 @@
|
||||
}
|
||||
};
|
||||
return $;
|
||||
}
|
||||
};
|
||||
|
||||
/* globals jQuery */
|
||||
/*
|
||||
@@ -25304,7 +25314,7 @@
|
||||
|
||||
/* globals jQuery */
|
||||
|
||||
var $$b = [jqPluginJSHotkeys, jqPluginBBQ, jqPluginSVGIcons, jqPluginJGraduate, jqPluginSpinBtn, jqPluginSVG, jqPluginContextMenu, jqPluginJPicker].reduce(function ($, cb) {
|
||||
var $$b = [jqPluginJSHotkeys, jqPluginBBQ, jqPluginSVGIcons, jqPluginJGraduate, jqPluginSpinBtn, jqPluginSVG, jqPluginContextMenu, jPicker].reduce(function ($, cb) {
|
||||
return cb($);
|
||||
}, jQuery);
|
||||
|
||||
@@ -26299,7 +26309,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
editor.canvas = svgCanvas = new _class(document.getElementById('svgcanvas'), curConfig);
|
||||
editor.canvas = svgCanvas = new SvgCanvas(document.getElementById('svgcanvas'), curConfig);
|
||||
var palette = [// Todo: Make into configuration item?
|
||||
'#000000', '#3f3f3f', '#7f7f7f', '#bfbfbf', '#ffffff', '#ff0000', '#ff7f00', '#ffff00', '#7fff00', '#00ff00', '#00ff7f', '#00ffff', '#007fff', '#0000ff', '#7f00ff', '#ff00ff', '#ff007f', '#7f0000', '#7f3f00', '#7f7f00', '#3f7f00', '#007f00', '#007f3f', '#007f7f', '#003f7f', '#00007f', '#3f007f', '#7f007f', '#7f003f', '#ffaaaa', '#ffd4aa', '#ffffaa', '#d4ffaa', '#aaffaa', '#aaffd4', '#aaffff', '#aad4ff', '#aaaaff', '#d4aaff', '#ffaaff', '#ffaad4'],
|
||||
modKey = isMac() ? 'meta+' : 'ctrl+',
|
||||
|
||||
2
dist/index-umd.min.js
vendored
2
dist/index-umd.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index-umd.min.js.map
vendored
2
dist/index-umd.min.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -1884,6 +1884,6 @@ const jPicker = function ($) {
|
||||
}
|
||||
};
|
||||
return $;
|
||||
}
|
||||
};
|
||||
|
||||
export default jPicker;
|
||||
|
||||
@@ -664,7 +664,7 @@ pathModule.init({
|
||||
getCurrentMode () {
|
||||
return currentMode;
|
||||
},
|
||||
setCurrentmode (cm) {
|
||||
setCurrentMode (cm) {
|
||||
currentMode = cm;
|
||||
return currentMode;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user