enforce a few eslint rules

This commit is contained in:
JFH
2021-05-13 01:00:09 +02:00
parent 9a5292b467
commit d3974f8f17
148 changed files with 1402 additions and 1398 deletions

View File

@@ -33,7 +33,7 @@ svgEditor.setConfig(
// other config options have already explicitly prevented one or the
// other)
},
{allowInitialUserOverride: true}
{ allowInitialUserOverride: true }
);
// EXTENSION CONFIG
@@ -139,7 +139,7 @@ try { // try clause to avoid js to complain if XDOMAIN undefined
if (XDOMAIN) {
svgEditor.setConfig({
canvasName: 'xdomain', // Namespace this
allowedOrigins: ['*']
allowedOrigins: [ '*' ]
});
console.info('xdomain config activated');
}