- 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

@@ -3355,7 +3355,7 @@ editor.init = function () {
const getPaint = function (color, opac, type) {
// update the editor's fill paint
const opts = { alpha: opac };
const opts = {alpha: opac};
if (color.startsWith('url(#')) {
let refElem = svgCanvas.getRefElem(color);
if (refElem) {
@@ -4612,8 +4612,8 @@ editor.init = function () {
.jGraduate(
{
paint,
window: { pickerTitle: title },
images: { clientPath: curConfig.jGraduatePath },
window: {pickerTitle: title},
images: {clientPath: curConfig.jGraduatePath},
newstop: 'inverse'
},
function (p) {