changeset 2129:4212f4520070

Updated "About njs" with methods supported in njs-0.2.0.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 03 Apr 2018 20:38:25 +0300
parents 59a3cc84f507
children 302fbdd94a04
files xml/en/docs/njs_about.xml xml/ru/docs/njs_about.xml
diffstat 2 files changed, 28 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs_about.xml
+++ b/xml/en/docs/njs_about.xml
@@ -9,7 +9,7 @@
 <article name="About njs"
         link="/en/docs/njs_about.html"
         lang="en"
-        rev="14">
+        rev="15">
 
 <section id="summary">
 
@@ -176,13 +176,24 @@ ES5.1 global functions:
 </listitem>
 
 <listitem>
+<literal>setTimeout</literal>, <literal>clearTimeout</literal> functions
+</listitem>
+
+<listitem>
 <literal>File system</literal> methods
-(Node.js <link url="https://nodejs.org/api/fs.html#fs_file_system">style</link>):
+(<link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link>):
 <literal>fs.readFile</literal>, <literal>fs.readFileSync</literal>,
 <literal>fs.appendFile</literal>, <literal>fs.appendFileSync</literal>,
 <literal>fs.writeFile</literal>, <literal>fs.writeFileSync</literal>
 </listitem>
 
+<listitem>
+<literal>Crypto</literal> methods
+(<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link>):
+<literal>crypto.createHash</literal>,
+<literal>crypto.createHmac</literal>
+</listitem>
+
 </list>
 </para>
 
@@ -211,7 +222,7 @@ labels
 </listitem>
 
 <listitem>
-<literal>setTimeout</literal>, <literal>setInterval</literal>,
+<literal>setInterval</literal>,
 <literal>setImmediate</literal> functions
 </listitem>
 
--- a/xml/ru/docs/njs_about.xml
+++ b/xml/ru/docs/njs_about.xml
@@ -9,7 +9,7 @@
 <article name="Информация о njs"
         link="/ru/docs/njs_about.html"
         lang="ru"
-        rev="14">
+        rev="15">
 
 <section id="summary">
 
@@ -175,13 +175,24 @@ ES5.1 глобальные функции:
 </listitem>
 
 <listitem>
+функции <literal>setTimeout</literal>, <literal>clearTimeout</literal>
+</listitem>
+
+<listitem>
 Методы <literal>File system</literal>
-(<link url="https://nodejs.org/api/fs.html#fs_file_system">стиль</link> Node.js):
+(<link url="https://nodejs.org/api/fs.html#fs_file_system">стиль Node.js</link>):
 <literal>fs.readFile</literal>, <literal>fs.readFileSync</literal>,
 <literal>fs.appendFile</literal>, <literal>fs.appendFileSync</literal>,
 <literal>fs.writeFile</literal>, <literal>fs.writeFileSync</literal>
 </listitem>
 
+<listitem>
+Методы <literal>Crypto</literal>
+(<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">стиль Node.js</link>):
+<literal>crypto.createHash</literal>,
+<literal>crypto.createHmac</literal>
+</listitem>
+
 </list>
 </para>
 
@@ -210,7 +221,7 @@ labels
 </listitem>
 
 <listitem>
-функции <literal>setTimeout</literal>, <literal>setInterval</literal>,
+функции <literal>setInterval</literal>,
 <literal>setImmediate</literal>
 </listitem>