From fb74497c9947f58d5a9b071985361477890d1d2f Mon Sep 17 00:00:00 2001 From: Jairo Date: Fri, 24 Jan 2020 20:06:17 +0100 Subject: [PATCH] Add "origin" to window.location (#13251) Add "origin" to window location: https://www.w3schools.com/jsref/prop_loc_origin.asp --- lib/js/dom.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/js/dom.nim b/lib/js/dom.nim index 53d9cd2047486..ff5165ca5a264 100644 --- a/lib/js/dom.nim +++ b/lib/js/dom.nim @@ -923,6 +923,7 @@ type port*: cstring protocol*: cstring search*: cstring + origin*: cstring History* = ref HistoryObj HistoryObj {.importc.} = object of RootObj