aboutsummaryrefslogtreecommitdiff
path: root/src/Lib/Dom/Document.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/Lib/Dom/Document.ml')
-rw-r--r--src/Lib/Dom/Document.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Lib/Dom/Document.ml b/src/Lib/Dom/Document.ml
index 867e28c..39c1bb4 100644
--- a/src/Lib/Dom/Document.ml
+++ b/src/Lib/Dom/Document.ml
@@ -12,3 +12,6 @@ let querySelectorUnsafe id =
external createTextNode : string -> Dom.element = "createTextNode"
[@@bs.val] [@@bs.scope "document"]
+
+external location : Location.location = "location"
+ [@@bs.val] [@@bs.scope "document"]