From 4513cb0680df7ab3fc2c20e58c9273489437d779 Mon Sep 17 00:00:00 2001 From: Jae Yang Date: Sat, 25 Apr 2020 14:00:24 -0400 Subject: [PATCH] Fixes #14110 (#14111) Fixes jsffi usage example in doc (cherry picked from commit 362c8964bfbc675efbb054ed2c81396697706309) --- lib/js/jsffi.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/js/jsffi.nim b/lib/js/jsffi.nim index 479c8c3a89..a6ef8f00be 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