parent
13fa338ada
commit
362c8964bf
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
## var document {.importc, nodecl.}: JsObject
|
||||
## var console {.importc, nodecl.}: JsObject
|
||||
## # import the "$" function
|
||||
## proc jq(selector: JsObject): JsObject {.importcpp: "$(#)".}
|
||||
## proc jq(selector: JsObject): JsObject {.importcpp: "$$(#)".}
|
||||
##
|
||||
## # Use jQuery to make the following code run, after the document is ready.
|
||||
## # This uses an experimental ``.()`` operator for ``JsObject``, to emit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue