- Linting (ESLint): As per latest ash-nazg
- npm: Update devDeps
This commit is contained in:
22
dist/extensions/ext-eyedropper.js
vendored
22
dist/extensions/ext-eyedropper.js
vendored
@@ -47,10 +47,12 @@ var svgEditorExtension_eyedropper = (function () {
|
||||
*/
|
||||
var extEyedropper = {
|
||||
name: 'eyedropper',
|
||||
init: function () {
|
||||
var _init = _asyncToGenerator(
|
||||
init: function init(S) {
|
||||
var _this = this;
|
||||
|
||||
return _asyncToGenerator(
|
||||
/*#__PURE__*/
|
||||
regeneratorRuntime.mark(function _callee(S) {
|
||||
regeneratorRuntime.mark(function _callee() {
|
||||
var strings, svgEditor, $, ChangeElementCommand, svgCanvas, addToHistory, currentStyle, getStyle, buttons;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
@@ -91,7 +93,7 @@ var svgEditorExtension_eyedropper = (function () {
|
||||
|
||||
case 3:
|
||||
strings = _context.sent;
|
||||
svgEditor = this;
|
||||
svgEditor = _this;
|
||||
$ = S.$, ChangeElementCommand = S.ChangeElementCommand, svgCanvas = svgEditor.canvas, addToHistory = function addToHistory(cmd) {
|
||||
svgCanvas.undoMgr.addCommandToHistory(cmd);
|
||||
}, currentStyle = {
|
||||
@@ -192,15 +194,9 @@ var svgEditorExtension_eyedropper = (function () {
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, this);
|
||||
}));
|
||||
|
||||
function init(_x) {
|
||||
return _init.apply(this, arguments);
|
||||
}
|
||||
|
||||
return init;
|
||||
}()
|
||||
}, _callee);
|
||||
}))();
|
||||
}
|
||||
};
|
||||
|
||||
return extEyedropper;
|
||||
|
||||
Reference in New Issue
Block a user