summaryrefslogtreecommitdiffstats
path: root/src/modules/core/textable.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/core/textable.js')
-rw-r--r--src/modules/core/textable.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/core/textable.js b/src/modules/core/textable.js
index 139d056..cf452c6 100644
--- a/src/modules/core/textable.js
+++ b/src/modules/core/textable.js
@@ -1,3 +1,7 @@
+import globals from '../../utils/window.js'
+
+const { document } = globals
+
// Create plain text node
export function plain (text) {
// clear if build mode is disabled