added .component macro to karax

This commit is contained in:
Andreas Rumpf 2017-04-13 21:07:04 +02:00
commit a799413f7f
6 changed files with 169 additions and 186 deletions

View file

@ -520,6 +520,8 @@ proc item*(list: TouchList, i: int): Touch
{.pop.}
proc setAttr*(n: Node; key, val: cstring) {.importcpp: "#.setAttribute(@)".}
var
window* {.importc, nodecl.}: Window
document* {.importc, nodecl.}: Document