aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts/marks.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts/marks.coffee')
-rw-r--r--content_scripts/marks.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/content_scripts/marks.coffee b/content_scripts/marks.coffee
index 6eab3be6..55f3137c 100644
--- a/content_scripts/marks.coffee
+++ b/content_scripts/marks.coffee
@@ -84,5 +84,6 @@ Marks =
@showMessage "Local mark not set", keyChar
DomUtils.consumeKeyup event
-root = exports ? window
+root = exports ? (window.root ?= {})
root.Marks = Marks
+extend window, root unless exports?