fix eslint issues

This commit is contained in:
JFH
2020-07-14 12:56:33 +02:00
parent 01418b44f3
commit 09c786abe9
188 changed files with 179 additions and 21 deletions

View File

@@ -4,7 +4,7 @@
* @module EmbeddedSVGEditDOM
*/
import EmbeddedSVGEdit from './embedapi.js';
import {isChrome} from './browser.js';
import {isChrome} from '../common/browser.js';
const $ = jQuery;
@@ -101,6 +101,7 @@ iframe[0].src = frameBase + framePath +
: ''); // Append arguments to this file onto the iframe
iframe[0].addEventListener('load', function () {
// eslint-disable-next-line node/no-unsupported-features/node-builtins
svgCanvas = new EmbeddedSVGEdit(frame, [new URL(frameBase).origin]);
// Hide main button, as we will be controlling new, load, save, etc. from the host document
let doc;