diff xml/en/docs/http/ngx_http_js_module.xml @ 2128:59a3cc84f507

Renamed nginScript to njs
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 03 Apr 2018 20:23:40 +0300
parents af51ec6b5489
children 6c7841469ec5
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_js_module.xml
+++ b/xml/en/docs/http/ngx_http_js_module.xml
@@ -9,26 +9,26 @@
 <module name="Module ngx_http_js_module"
         link="/en/docs/http/ngx_http_js_module.html"
         lang="en"
-        rev="7">
+        rev="8">
 
 <section id="summary">
 
 <para>
 The <literal>ngx_http_js_module</literal> module is used to implement
 location and variable handlers
-in <link doc="../njs_about.xml">nginScript</link> —
+in <link doc="../njs_about.xml">njs</link> —
 a subset of the JavaScript language.
 </para>
 
 <para>
 This module is not built by default, it should be compiled with
-the nginScript module using the
+the njs module using the
 <literal>--add-module</literal> configuration parameter:
 <example>
 ./configure --add-module=<value>path-to-njs</value>/nginx
 </example>
 The <link url="http://hg.nginx.org/njs">repository</link>
-with the nginScript module can be cloned with the following command
+with the njs module can be cloned with the following command
 (requires <link url="https://www.mercurial-scm.org">Mercurial</link> client):
 <example>
 hg clone http://hg.nginx.org/njs
@@ -125,7 +125,7 @@ function baz(req, res) {
 <context>http</context>
 
 <para>
-Specifies a file that implements location and variable handlers in nginScript.
+Specifies a file that implements location and variable handlers in njs.
 </para>
 
 </directive>
@@ -138,7 +138,7 @@ Specifies a file that implements locatio
 <context>limit_except</context>
 
 <para>
-Sets an nginScript function as a location content handler.
+Sets an njs function as a location content handler.
 </para>
 
 </directive>
@@ -151,7 +151,7 @@ Sets an nginScript function as a locatio
 <context>http</context>
 
 <para>
-Sets an nginScript function for the specified variable.
+Sets an njs function for the specified variable.
 </para>
 
 </directive>
@@ -161,7 +161,7 @@ Sets an nginScript function for the spec
 
 <section id="arguments" name="Request and Response Arguments">
 <para>
-Each HTTP nginScript handler receives two arguments, request and response.
+Each HTTP njs handler receives two arguments, request and response.
 </para>
 
 <para>