summaryrefslogtreecommitdiffstats
path: root/src/elements/Image.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Image.js')
-rw-r--r--src/elements/Image.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/elements/Image.js b/src/elements/Image.js
index c529439..6a01b8f 100644
--- a/src/elements/Image.js
+++ b/src/elements/Image.js
@@ -6,6 +6,9 @@ import { registerMethods } from '../utils/methods.js'
import { xlink } from '../modules/core/namespaces.js'
import Pattern from './Pattern.js'
import Shape from './Shape.js'
+import globals from '../utils/window.js'
+
+const { window } = globals
export default class Image extends Shape {
constructor (node) {