# HG changeset patch # User Yaroslav Zhuravlev # Date 1615572549 0 # Node ID 8f3e9ff2785f4cf5f738d9cd0010a797d709981d # Parent a4d3e6db81b9491da1b33eb43cb718f4cdfe8f46 Corrected syntax of njs.on() and ngx.fetch() in njs Reference. diff -r a4d3e6db81b9 -r 8f3e9ff2785f xml/en/docs/njs/reference.xml --- a/xml/en/docs/njs/reference.xml Wed Mar 10 20:36:35 2021 +0000 +++ b/xml/en/docs/njs/reference.xml Fri Mar 12 18:09:09 2021 +0000 @@ -9,7 +9,7 @@
+ rev="68">
@@ -496,7 +496,7 @@ to a code value, by default 0. The actual finalization happens when the js handler is completed and all pending events, for example, from -ngx.fetch or +ngx.fetch() or setTimeout(), are processed (0.2.4). @@ -876,7 +876,8 @@ Returns the pretty-print string representation for a value. -njs.on +njs.on(event, +callback) Registers a callback for the specified VM event (since 0.5.2).