- Linting (ESLint): Apply coding standards

- Testing (Refactoring): Abstract out to helper file functions for approving local storage and opening the main menu
- Docs (CHANGES): Update
- npm: Update devDeps; update nested deps for security audit
This commit is contained in:
Brett Zamir
2019-03-16 12:30:23 +08:00
parent 5691b7b1e7
commit dade2a7b37
28 changed files with 521 additions and 537 deletions

View File

@@ -349,7 +349,7 @@ var svgEditorExtension_arrows = (function () {
return _context.stop();
}
}
}, _callee, this);
}, _callee);
}));
function addLangData(_x2) {

View File

@@ -267,7 +267,7 @@ var svgEditorExtension_foreignobject = (function () {
return _context.stop();
}
}
}, _callee, this);
}, _callee);
})));
/* const cancel = */

View File

@@ -533,7 +533,7 @@ var svgEditorExtension_imagelib = (function () {
return _context.stop();
}
}
}, _callee, this, [[3, 20]]);
}, _callee, null, [[3, 20]]);
}));
return function (_x2) {

View File

@@ -212,7 +212,7 @@ var svgEditorExtension_markers = (function () {
return _context.stop();
}
}
}, _callee, this);
}, _callee);
}));
return _showTextPrompt.apply(this, arguments);
};

View File

@@ -306,7 +306,7 @@ var svgEditorExtension_mathjax = (function () {
return _context.stop();
}
}
}, _callee, this, [[7, 13]]);
}, _callee, null, [[7, 13]]);
}));
function click() {

View File

@@ -4579,7 +4579,7 @@ var svgEditorExtension_server_moinsave = (function () {
return _context.stop();
}
}
}, _callee, this);
}, _callee);
}));
return function (_x2, _x3) {
@@ -4935,7 +4935,7 @@ var svgEditorExtension_server_moinsave = (function () {
return _context.stop();
}
}
}, _callee, this);
}, _callee);
}));
function save(_x2, _x3) {

View File

@@ -4579,7 +4579,7 @@ var svgEditorExtension_server_opensave = (function () {
return _context.stop();
}
}
}, _callee, this);
}, _callee);
}));
return function (_x2, _x3) {
@@ -4909,7 +4909,7 @@ var svgEditorExtension_server_opensave = (function () {
return _context4.stop();
}
}
}, _callee4, this);
}, _callee4);
}));
return _submit.apply(this, arguments);
}
@@ -4948,7 +4948,7 @@ var svgEditorExtension_server_opensave = (function () {
return _context2.stop();
}
}
}, _callee2, this);
}, _callee2);
})));
} else {
inp.change(
@@ -4968,7 +4968,7 @@ var svgEditorExtension_server_opensave = (function () {
return _context3.stop();
}
}
}, _callee3, this);
}, _callee3);
})));
}
};
@@ -5114,7 +5114,7 @@ var svgEditorExtension_server_opensave = (function () {
return _context.stop();
}
}
}, _callee, this);
}, _callee);
}));
function exportImage(_x2, _x3) {

View File

@@ -412,7 +412,7 @@ var svgEditorExtension_storage = (function () {
return _context.stop();
}
}
}, _callee, this);
}, _callee);
}));
function langReady(_x) {

View File

@@ -3220,7 +3220,7 @@
return _context3.stop();
}
}
}, _callee3, this);
}, _callee3);
}));
return _processResults.apply(this, arguments);
}
@@ -3253,7 +3253,7 @@
return _context.stop();
}
}
}, _callee, this);
}, _callee);
}));
function $submit() {