summary refs log tree commit diff stats
diff options
context:
space:
mode:
authoryglukhov <yuriy.glukhov@gmail.com>2015-04-29 10:01:26 +0300
committeryglukhov <yuriy.glukhov@gmail.com>2015-04-29 10:01:26 +0300
commit3161f904a5127bb4756ed732ef6f8fc7fb69ffbe (patch)
tree76973fa901b0a93cc6839e9d3b9ab6ded3c992c7
parent26eae7d00e73c65670775091bad8bfd796b3e1f1 (diff)
downloadNim-3161f904a5127bb4756ed732ef6f8fc7fb69ffbe.tar.gz
Added body and head properties to 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