- Linting (ESLint): Remove now unneeded config and add per new update

- Refactoring: Prefer for-of, event.key (newly enforced linting)
- Refactoring: Better var. names
- npm: Update devDeps and update local copies
This commit is contained in:
Brett Zamir
2019-05-24 20:17:17 +08:00
parent f6b5360a58
commit 4177146acd
38 changed files with 2450 additions and 1476 deletions

View File

@@ -40,7 +40,7 @@ var svgEditorExtension_mathjax = (function () {
/**
* Add any of the whitelisted attributes to the script tag.
* @param {HTMLScriptElement} script
* @param {PlainObject.<string, string>} atts
* @param {PlainObject<string, string>} atts
* @returns {void}
*/

View File

@@ -924,7 +924,7 @@ var svgEditorExtension_server_moinsave = (function () {
* @param {HTMLCanvasElement|string} target canvas element or the id of a canvas element
* @param {string|XMLDocument} s - svg string, url to svg file, or xml document
* @param {module:canvg.CanvgOptions} [opts] Optional hash of options
* @returns {Promise} All the function after the first render is completed with dom
* @returns {Promise<XMLDocument|XMLDocument[]>} All the function after the first render is completed with dom
*/

View File

@@ -924,7 +924,7 @@ var svgEditorExtension_server_opensave = (function () {
* @param {HTMLCanvasElement|string} target canvas element or the id of a canvas element
* @param {string|XMLDocument} s - svg string, url to svg file, or xml document
* @param {module:canvg.CanvgOptions} [opts] Optional hash of options
* @returns {Promise} All the function after the first render is completed with dom
* @returns {Promise<XMLDocument|XMLDocument[]>} All the function after the first render is completed with dom
*/

File diff suppressed because it is too large Load Diff