diff options
author | Jae Yang <jaey226@gmail.com> | 2020-04-25 14:00:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 20:00:24 +0200 |
commit | 362c8964bfbc675efbb054ed2c81396697706309 (patch) | |
tree | 638a71fd0a19231f17fe7459d2ccf5a05ea39226 /lib/js | |
parent | 13fa338ada7fcd8f7f33365ffd2000c79a4607fe (diff) | |
download | Nim-362c8964bfbc675efbb054ed2c81396697706309.tar.gz |
Fixes #14110 (#14111)
Fixes jsffi usage example in doc
Diffstat (limited to 'lib/js')
-rw-r--r-- | lib/js/jsffi.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/jsffi.nim b/lib/js/jsffi.nim index 20dfb0433..e79e4e20d 100644 --- a/lib/js/jsffi.nim +++ b/lib/js/jsffi.nim @@ -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 |