comparison xml/en/docs/njs/index.xml @ 2246:32ba43abf9cd

Renamed njs API, njs Changes.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 24 Sep 2018 19:24:04 +0300
parents 87a0e2c73a25
children 8cef5ef98336
comparison
equal deleted inserted replaced
2245:87a0e2c73a25 2246:32ba43abf9cd
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd">
8 8
9 <article name="njs scripting language" 9 <article name="njs scripting language"
10 link="/en/docs/njs/index.html" 10 link="/en/docs/njs/index.html"
11 lang="en" 11 lang="en"
12 rev="24" 12 rev="25"
13 toc="no"> 13 toc="no">
14 14
15 <section id="links"> 15 <section id="links">
16 16
17 <para> 17 <para>
20 <listitem> 20 <listitem>
21 <link doc="install.xml"/> 21 <link doc="install.xml"/>
22 </listitem> 22 </listitem>
23 23
24 <listitem> 24 <listitem>
25 <link doc="njs_changes.xml"/> 25 <link doc="changes.xml"/>
26 </listitem> 26 </listitem>
27 27
28 <listitem> 28 <listitem>
29 <link doc="njs_api.xml"/> 29 <link doc="reference.xml"/>
30 </listitem> 30 </listitem>
31 31
32 <listitem> 32 <listitem>
33 <link doc="examples.xml"/> 33 <link doc="examples.xml"/>
34 </listitem> 34 </listitem>
119 </listitem> 119 </listitem>
120 120
121 <listitem id="hello_world"> 121 <listitem id="hello_world">
122 <para> 122 <para>
123 create an njs script file, for example, <path>hello_world.js</path>. 123 create an njs script file, for example, <path>hello_world.js</path>.
124 See <link doc="njs_api.xml">Reference</link> 124 See <link doc="reference.xml">Reference</link>
125 for the list of njs properties and methods. 125 for the list of njs properties and methods.
126 <example> 126 <example>
127 function hello(r) { 127 function hello(r) {
128 r.return(200, “Hello world!”); 128 r.return(200, “Hello world!”);
129 } 129 }