fix eslint issues
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user