- Refactoring: Ensure file-global tags are at beginning of file
parent
d9d4d94976
commit
7fc26e114d
|
@ -13,6 +13,7 @@
|
|||
- Fix (openclipart browser): Redirect on lacking browser support
|
||||
- Optimization: Remove unused `jquery-ui-1.8.custom.min.js` file
|
||||
- Localization: Add 'SVG-Edit Home Page' to locale files
|
||||
- Refactoring: Ensure file-global tags are at beginning of file
|
||||
- Linting (ESLint): Simplify regexes
|
||||
- Linting (ESLint): Replace `innerHTML` with `textContent` from old demo
|
||||
- Linting (ESLint): Update as per latest ash-nazg (bad jsdoc)
|
||||
|
|
|
@ -9367,11 +9367,10 @@ var injectExtendedContextMenuItemsIntoDom = function injectExtendedContextMenuIt
|
|||
});
|
||||
};
|
||||
|
||||
// MIT License
|
||||
// From: https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js
|
||||
|
||||
/**
|
||||
* Adapted from {@link https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js}.
|
||||
* @module importModule
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -22312,7 +22311,6 @@ function jQueryPluginBBQ (jQuery) {
|
|||
return jQuery;
|
||||
}
|
||||
|
||||
// Todo: Move to own module (and have it import a modular base64 encoder)
|
||||
/**
|
||||
* @file SVG Icon Loader 2.0
|
||||
*
|
||||
|
@ -22398,7 +22396,6 @@ $(function () {
|
|||
});
|
||||
});
|
||||
*/
|
||||
|
||||
var isOpera$1 = Boolean(window.opera);
|
||||
|
||||
var fixIDs = function fixIDs(svgEl, svgNum, force) {
|
||||
|
@ -28815,22 +28812,6 @@ function loadStylesheets(stylesheets) {
|
|||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* The main module for the visual SVG Editor.
|
||||
*
|
||||
* @license MIT
|
||||
*
|
||||
* @copyright 2010 Alexis Deveria
|
||||
* 2010 Pavol Rusnak
|
||||
* 2010 Jeff Schiller
|
||||
* 2010 Narendra Sisodiya
|
||||
* 2014 Brett Zamir
|
||||
* @exports module:SVGEditor
|
||||
* @borrows module:locale.putLocale as putLocale
|
||||
* @borrows module:locale.readLang as readLang
|
||||
* @borrows module:locale.setStrings as setStrings
|
||||
*/
|
||||
|
||||
var editor = {};
|
||||
var $$b = [jQueryPluginJSHotkeys, jQueryPluginBBQ, jQueryPluginSVGIcons, jQueryPluginJGraduate, jQueryPluginSpinButton, jQueryPluginSVG, jQueryContextMenu, jPicker].reduce(function (jq, func) {
|
||||
return func(jq);
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -9373,11 +9373,10 @@
|
|||
});
|
||||
};
|
||||
|
||||
// MIT License
|
||||
// From: https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js
|
||||
|
||||
/**
|
||||
* Adapted from {@link https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js}.
|
||||
* @module importModule
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -22318,7 +22317,6 @@
|
|||
return jQuery;
|
||||
}
|
||||
|
||||
// Todo: Move to own module (and have it import a modular base64 encoder)
|
||||
/**
|
||||
* @file SVG Icon Loader 2.0
|
||||
*
|
||||
|
@ -22404,7 +22402,6 @@
|
|||
});
|
||||
});
|
||||
*/
|
||||
|
||||
var isOpera$1 = Boolean(window.opera);
|
||||
|
||||
var fixIDs = function fixIDs(svgEl, svgNum, force) {
|
||||
|
@ -28821,22 +28818,6 @@
|
|||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* The main module for the visual SVG Editor.
|
||||
*
|
||||
* @license MIT
|
||||
*
|
||||
* @copyright 2010 Alexis Deveria
|
||||
* 2010 Pavol Rusnak
|
||||
* 2010 Jeff Schiller
|
||||
* 2010 Narendra Sisodiya
|
||||
* 2014 Brett Zamir
|
||||
* @exports module:SVGEditor
|
||||
* @borrows module:locale.putLocale as putLocale
|
||||
* @borrows module:locale.readLang as readLang
|
||||
* @borrows module:locale.setStrings as setStrings
|
||||
*/
|
||||
|
||||
var editor = {};
|
||||
var $$b = [jQueryPluginJSHotkeys, jQueryPluginBBQ, jQueryPluginSVGIcons, jQueryPluginJGraduate, jQueryPluginSpinButton, jQueryPluginSVG, jQueryContextMenu, jPicker].reduce(function (jq, func) {
|
||||
return func(jq);
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -11272,11 +11272,10 @@ var SvgCanvas = (function () {
|
|||
}
|
||||
};
|
||||
|
||||
// MIT License
|
||||
// From: https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js
|
||||
|
||||
/**
|
||||
* Adapted from {@link https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js}.
|
||||
* @module importModule
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,8 +1,7 @@
|
|||
// MIT License
|
||||
// From: https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js
|
||||
|
||||
/**
|
||||
* Adapted from {@link https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js}.
|
||||
* @module importModule
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -64,6 +63,7 @@ export async function importSetGlobal (url, {global: glob, returnDefault}) {
|
|||
await importScript(url);
|
||||
return window[glob];
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Brett Zamir (other items are from `dynamic-import-polyfill`)
|
||||
|
|
|
@ -1,4 +1,19 @@
|
|||
/* globals jQuery */
|
||||
/**
|
||||
* The main module for the visual SVG Editor.
|
||||
*
|
||||
* @license MIT
|
||||
*
|
||||
* @copyright 2010 Alexis Deveria
|
||||
* 2010 Pavol Rusnak
|
||||
* 2010 Jeff Schiller
|
||||
* 2010 Narendra Sisodiya
|
||||
* 2014 Brett Zamir
|
||||
* @exports module:SVGEditor
|
||||
* @borrows module:locale.putLocale as putLocale
|
||||
* @borrows module:locale.readLang as readLang
|
||||
* @borrows module:locale.setStrings as setStrings
|
||||
*/
|
||||
|
||||
import './touch.js';
|
||||
import {NS} from './namespaces.js';
|
||||
|
@ -30,21 +45,6 @@ import {
|
|||
} from './locale/locale.js';
|
||||
import loadStylesheets from './external/load-stylesheets/index-es.js';
|
||||
|
||||
/**
|
||||
* The main module for the visual SVG Editor.
|
||||
*
|
||||
* @license MIT
|
||||
*
|
||||
* @copyright 2010 Alexis Deveria
|
||||
* 2010 Pavol Rusnak
|
||||
* 2010 Jeff Schiller
|
||||
* 2010 Narendra Sisodiya
|
||||
* 2014 Brett Zamir
|
||||
* @exports module:SVGEditor
|
||||
* @borrows module:locale.putLocale as putLocale
|
||||
* @borrows module:locale.readLang as readLang
|
||||
* @borrows module:locale.setStrings as setStrings
|
||||
*/
|
||||
const editor = {};
|
||||
|
||||
const $ = [
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
// Todo: Move to own module (and have it import a modular base64 encoder)
|
||||
import {encode64} from '../utilities.js';
|
||||
/**
|
||||
* @file SVG Icon Loader 2.0
|
||||
*
|
||||
|
@ -86,6 +84,9 @@ $(function () {
|
|||
});
|
||||
*/
|
||||
|
||||
// Todo: Move to own module (and have it import a modular base64 encoder)
|
||||
import {encode64} from '../utilities.js';
|
||||
|
||||
const isOpera = Boolean(window.opera);
|
||||
|
||||
const fixIDs = function (svgEl, svgNum, force) {
|
||||
|
|
|
@ -9370,11 +9370,10 @@
|
|||
});
|
||||
};
|
||||
|
||||
// MIT License
|
||||
// From: https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js
|
||||
|
||||
/**
|
||||
* Adapted from {@link https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js}.
|
||||
* @module importModule
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -22315,7 +22314,6 @@
|
|||
return jQuery;
|
||||
}
|
||||
|
||||
// Todo: Move to own module (and have it import a modular base64 encoder)
|
||||
/**
|
||||
* @file SVG Icon Loader 2.0
|
||||
*
|
||||
|
@ -22401,7 +22399,6 @@
|
|||
});
|
||||
});
|
||||
*/
|
||||
|
||||
var isOpera$1 = Boolean(window.opera);
|
||||
|
||||
var fixIDs = function fixIDs(svgEl, svgNum, force) {
|
||||
|
@ -28818,22 +28815,6 @@
|
|||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* The main module for the visual SVG Editor.
|
||||
*
|
||||
* @license MIT
|
||||
*
|
||||
* @copyright 2010 Alexis Deveria
|
||||
* 2010 Pavol Rusnak
|
||||
* 2010 Jeff Schiller
|
||||
* 2010 Narendra Sisodiya
|
||||
* 2014 Brett Zamir
|
||||
* @exports module:SVGEditor
|
||||
* @borrows module:locale.putLocale as putLocale
|
||||
* @borrows module:locale.readLang as readLang
|
||||
* @borrows module:locale.setStrings as setStrings
|
||||
*/
|
||||
|
||||
var editor = {};
|
||||
var $$b = [jQueryPluginJSHotkeys, jQueryPluginBBQ, jQueryPluginSVGIcons, jQueryPluginJGraduate, jQueryPluginSpinButton, jQueryPluginSVG, jQueryContextMenu, jPicker].reduce(function (jq, func) {
|
||||
return func(jq);
|
||||
|
|
|
@ -9370,11 +9370,10 @@
|
|||
});
|
||||
};
|
||||
|
||||
// MIT License
|
||||
// From: https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js
|
||||
|
||||
/**
|
||||
* Adapted from {@link https://github.com/uupaa/dynamic-import-polyfill/blob/master/importModule.js}.
|
||||
* @module importModule
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -22315,7 +22314,6 @@
|
|||
return jQuery;
|
||||
}
|
||||
|
||||
// Todo: Move to own module (and have it import a modular base64 encoder)
|
||||
/**
|
||||
* @file SVG Icon Loader 2.0
|
||||
*
|
||||
|
@ -22401,7 +22399,6 @@
|
|||
});
|
||||
});
|
||||
*/
|
||||
|
||||
var isOpera$1 = Boolean(window.opera);
|
||||
|
||||
var fixIDs = function fixIDs(svgEl, svgNum, force) {
|
||||
|
@ -28818,22 +28815,6 @@
|
|||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* The main module for the visual SVG Editor.
|
||||
*
|
||||
* @license MIT
|
||||
*
|
||||
* @copyright 2010 Alexis Deveria
|
||||
* 2010 Pavol Rusnak
|
||||
* 2010 Jeff Schiller
|
||||
* 2010 Narendra Sisodiya
|
||||
* 2014 Brett Zamir
|
||||
* @exports module:SVGEditor
|
||||
* @borrows module:locale.putLocale as putLocale
|
||||
* @borrows module:locale.readLang as readLang
|
||||
* @borrows module:locale.setStrings as setStrings
|
||||
*/
|
||||
|
||||
var editor = {};
|
||||
var $$b = [jQueryPluginJSHotkeys, jQueryPluginBBQ, jQueryPluginSVGIcons, jQueryPluginJGraduate, jQueryPluginSpinButton, jQueryPluginSVG, jQueryContextMenu, jPicker].reduce(function (jq, func) {
|
||||
return func(jq);
|
||||
|
|
Loading…
Reference in New Issue