Mercurial > hg > nginx-site
comparison xml/en/docs/njs_about.xml @ 2148:94a598ee1d49
Minor corrections in "njs About" and "njs Changes".
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 06 Apr 2018 20:17:57 +0300 |
parents | 302fbdd94a04 |
children | af5751930f95 |
comparison
equal
deleted
inserted
replaced
2147:dc51409fee0c | 2148:94a598ee1d49 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="About njs" | 9 <article name="About njs" |
10 link="/en/docs/njs_about.html" | 10 link="/en/docs/njs_about.html" |
11 lang="en" | 11 lang="en" |
12 rev="16"> | 12 rev="17"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 njs is a subset of the JavaScript language that allows | 17 njs is a subset of the JavaScript language that allows |
174 <literal>ReferenceError</literal>, <literal>SyntaxError</literal>, | 174 <literal>ReferenceError</literal>, <literal>SyntaxError</literal>, |
175 <literal>TypeError</literal>, <literal>URIError</literal> | 175 <literal>TypeError</literal>, <literal>URIError</literal> |
176 </listitem> | 176 </listitem> |
177 | 177 |
178 <listitem> | 178 <listitem> |
179 <literal>setTimeout</literal>, <literal>clearTimeout</literal> functions | 179 <literal>setTimeout()</literal> and <literal>clearTimeout()</literal> functions |
180 </listitem> | 180 (0.2.0) |
181 | 181 </listitem> |
182 <listitem> | 182 |
183 <literal>File system</literal> methods | 183 <listitem> |
184 (<link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link>): | 184 <link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link> |
185 <literal>File system</literal> methods: | |
185 <literal>fs.readFile</literal>, <literal>fs.readFileSync</literal>, | 186 <literal>fs.readFile</literal>, <literal>fs.readFileSync</literal>, |
186 <literal>fs.appendFile</literal>, <literal>fs.appendFileSync</literal>, | 187 <literal>fs.appendFile</literal>, <literal>fs.appendFileSync</literal>, |
187 <literal>fs.writeFile</literal>, <literal>fs.writeFileSync</literal> | 188 <literal>fs.writeFile</literal>, <literal>fs.writeFileSync</literal> |
188 </listitem> | 189 </listitem> |
189 | 190 |
190 <listitem> | 191 <listitem> |
191 <literal>Crypto</literal> methods | 192 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> |
192 (<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link>): | 193 <literal>Crypto</literal> methods (0.2.0): |
193 <literal>crypto.createHash</literal>, | 194 <literal>crypto.createHash</literal>, |
194 <literal>crypto.createHmac</literal> | 195 <literal>crypto.createHmac</literal> |
196 | |
195 </listitem> | 197 </listitem> |
196 | 198 |
197 </list> | 199 </list> |
198 </para> | 200 </para> |
199 | 201 |