- npm: Update devDeps

- Build: Switch to `terser` plugin with `uglify` plugin not
    supporting ES6+-capable minifier
- Linting (ESLint): Consistent curly spacing; follow new "standard"
This commit is contained in:
Brett Zamir
2018-09-07 08:18:37 +08:00
parent cad412fe6e
commit 4b22c248e4
25 changed files with 870 additions and 880 deletions

View File

@@ -76,7 +76,7 @@ if (!window.console) {
}
if (window.opera) {
window.console.log = function (str) { opera.postError(str); };
window.console.log = function (str) { window.opera.postError(str); };
window.console.dir = function (str) {};
}
@@ -5670,14 +5670,14 @@ canvas.setBlur = function (val, complete) {
}
} else {
// Not found, so create
const newblur = addSVGElementFromJson({ element: 'feGaussianBlur',
const newblur = addSVGElementFromJson({element: 'feGaussianBlur',
attr: {
in: 'SourceGraphic',
stdDeviation: val
}
});
filter = addSVGElementFromJson({ element: 'filter',
filter = addSVGElementFromJson({element: 'filter',
attr: {
id: elemId + '_blur'
}