Mercurial > hg > nginx-site
diff xml/en/docs/njs_about.xml @ 2128:59a3cc84f507
Renamed nginScript to njs
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 03 Apr 2018 20:23:40 +0300 |
parents | 07239ff77f50 |
children | 4212f4520070 |
line wrap: on
line diff
--- a/xml/en/docs/njs_about.xml +++ b/xml/en/docs/njs_about.xml @@ -6,19 +6,19 @@ <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> -<article name="About nginScript" +<article name="About njs" link="/en/docs/njs_about.html" lang="en" - rev="13"> + rev="14"> <section id="summary"> <para> -nginScript is a subset of the JavaScript language that allows +njs is a subset of the JavaScript language that allows implementing location and variable handlers in <link doc="http/ngx_http_js_module.xml">http</link> and <link doc="stream/ngx_stream_js_module.xml">stream</link>. -nginScript is created in compliance with +njs is created in compliance with <link url="http://www.ecma-international.org/ecma-262/5.1/">ECMAScript 5.1</link> with some <link url="http://www.ecma-international.org/ecma-262/6.0/">ECMAScript 6</link> @@ -229,7 +229,7 @@ binary literals (<literal>0b0101</litera <section id="install" name="Download and install"> <para> -nginScript is available in two modules: +njs is available in two modules: <list type="bullet"> <listitem> @@ -249,12 +249,12 @@ or installed as a Linux package. <section id="install_package" name="Installing as a Linux package"> <para> -For Linux, nginScript modules +For Linux, njs modules <link doc="../linux_packages.xml" id="dynmodules">packages</link> can be used: <list type="bullet"> <listitem> -<literal>nginx-module-njs</literal> — nginScript +<literal>nginx-module-njs</literal> — njs <link doc="ngx_core_module.xml" id="load_module">dynamic</link> modules </listitem> @@ -273,7 +273,7 @@ For Linux, nginScript modules <para> The <link url="http://hg.nginx.org/njs">repository</link> -with nginScript sources can be cloned with the following command: +with njs sources 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