summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorreactormonk <hafnersimon@gmail.com>2015-05-01 03:15:11 +0500
committerreactormonk <hafnersimon@gmail.com>2015-05-01 03:15:11 +0500
commitc82cc7c37c4a6c79a22c78d43627516074bdc0ac (patch)
treec058dc1bd8e103cdc54f2f75b10fd3a1509353c6
parentd9d5aa60b7df936ffe6149143c7202604f71465f (diff)
parent3161f904a5127bb4756ed732ef6f8fc7fb69ffbe (diff)
downloadNim-c82cc7c37c4a6c79a22c78d43627516074bdc0ac.tar.gz
Merge pull request #2618 from yglukhov/dom-body-head
Added body and head properties to DOM document.
-rw-r--r--lib/js/dom.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/js/dom.nim b/lib/js/dom.nim
index 94f4fa29c..b063fa838 100644
--- a/lib/js/dom.nim
+++ b/lib/js/dom.nim
@@ -152,10 +152,12 @@ type
   DocumentObj {.importc.} = object of NodeObj
     alinkColor*: cstring
     bgColor*: cstring
+    body*: Element
     charset*: cstring
     cookie*: cstring
     defaultCharset*: cstring
     fgColor*: cstring
+    head*: Element
     lastModified*: cstring
     linkColor*: cstring
     referrer*: cstring