Fixes jsffi usage example in doc

(cherry picked from commit 362c8964bf)
This commit is contained in:
Jae Yang
2020-04-25 14:00:24 -04:00
committed by narimiran
parent b8573064e0
commit 4513cb0680

View File

@@ -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