- Linting (ESLint): As per latest ash-nazg (unicorn)
- npm: Update devDeps; use stable eslint-plugin-mocha-cleanup now that updated
- npm: Add scripts for reporting with test summaries (free of full noise during tests);
auto-run at end of tests
- npm: Update devDeps. and use stable version of eslint-plugin-mocha-cleanup
This commit is contained in:
6
dist/extensions/ext-imagelib.js
vendored
6
dist/extensions/ext-imagelib.js
vendored
@@ -515,7 +515,11 @@ var svgEditorExtension_imagelib = (function () {
|
||||
url = _ref2.url,
|
||||
description = _ref2.description;
|
||||
// Todo: Adopt some standard formatting library like `fluent.js` instead
|
||||
url = url.replace(/\{path\}/g, extIconsPath).replace(/\{modularVersion\}/g, modularVersion ? imagelibStrings.moduleEnding || '-es' : '');
|
||||
url = url // Keep these regexes as is in prep. for switching to `u` flag
|
||||
// which will require escaping
|
||||
// eslint-disable-next-line unicorn/better-regex
|
||||
.replace(/\{path\}/g, extIconsPath).replace( // eslint-disable-next-line unicorn/better-regex
|
||||
/\{modularVersion\}/g, modularVersion ? imagelibStrings.moduleEnding || '-es' : '');
|
||||
return {
|
||||
name: name,
|
||||
url: url,
|
||||
|
||||
Reference in New Issue
Block a user