- Linting (ESLint): As per latest ash-nazg

- npm: Update devDeps
This commit is contained in:
Brett Zamir
2020-02-01 20:44:13 +08:00
parent f9f359b98f
commit 33c84d89b8
37 changed files with 1254 additions and 953 deletions

View File

@@ -46,24 +46,28 @@ var svgEditorExtension_webappfind = (function () {
*/
var extWebappfind = {
name: 'webappfind',
init: function () {
var _init = _asyncToGenerator(
init: function init(_ref) {
var _this = this;
var importLocale = _ref.importLocale,
$ = _ref.$;
return _asyncToGenerator(
/*#__PURE__*/
regeneratorRuntime.mark(function _callee(_ref) {
var importLocale, $, strings, svgEditor, saveMessage, readMessage, excludedMessages, pathID, buttons;
regeneratorRuntime.mark(function _callee() {
var strings, svgEditor, saveMessage, readMessage, excludedMessages, pathID, buttons;
return regeneratorRuntime.wrap(function _callee$(_context) {
while (1) {
switch (_context.prev = _context.next) {
case 0:
importLocale = _ref.importLocale, $ = _ref.$;
_context.next = 3;
_context.next = 2;
return importLocale();
case 3:
case 2:
strings = _context.sent;
svgEditor = this;
svgEditor = _this;
saveMessage = 'save', readMessage = 'read', excludedMessages = [readMessage, saveMessage];
this.canvas.bind('message',
_this.canvas.bind('message',
/**
* @param {external:Window} win
* @param {module:svgcanvas.SvgCanvas#event:message} data
@@ -125,6 +129,7 @@ var svgEditorExtension_webappfind = (function () {
);
*/
buttons = [{
id: 'webappfind_save',
//
@@ -159,20 +164,14 @@ var svgEditorExtension_webappfind = (function () {
})
});
case 9:
case 8:
case "end":
return _context.stop();
}
}
}, _callee, this);
}));
function init(_x) {
return _init.apply(this, arguments);
}
return init;
}()
}, _callee);
}))();
}
};
return extWebappfind;