changeset 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 dc51409fee0c
children 6df1a86a60b8
files xml/en/docs/njs/njs_changes.xml xml/en/docs/njs_about.xml xml/ru/docs/njs_about.xml
diffstat 3 files changed, 22 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/njs/njs_changes.xml	Thu Apr 12 21:45:35 2018 +0300
+++ b/xml/en/docs/njs/njs_changes.xml	Fri Apr 06 20:17:57 2018 +0300
@@ -9,7 +9,7 @@
 <article name="njs Changes"
         link="/en/docs/njs/njs_changes.html"
         lang="en"
-        rev="1"
+        rev="2"
         toc="no">
 
 <section id="njs0.2.0" name="Changes with 0.2.0">
@@ -39,7 +39,7 @@
 <listitem>
 Feature:
 <literal>setTimeout()</literal> and
-<literal>clearTimeout() </literal> methods.
+<literal>clearTimeout()</literal> methods.
 </listitem>
 
 <listitem>
@@ -130,15 +130,14 @@
 <listitem>
 <para>
 Feature:
-File system access
-(<link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link>)
+<link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link>
+<literal>File system</literal> access methods:
 <literal>fs.readFile()</literal>,
 <literal>fs.readFileSync()</literal>,
 <literal>fs.appendFile()</literal>,
 <literal>fs.appendFileSync()</literal>,
 <literal>fs.writeFile()</literal>,
-<literal>fs.writeFileSync()</literal>
-methods.
+<literal>fs.writeFileSync()</literal>.
 </para>
 </listitem>
 
@@ -346,14 +345,14 @@
 <listitem>
 <para>
 Feature:
-scientific notation literals support.
+scientific notation (<literal>3.35e10</literal>) literals support.
 </para>
 </listitem>
 
 <listitem>
 <para>
 Feature:
-hexadecimal literals support.
+hexadecimal (<literal>0x1123</literal>) literals support.
 </para>
 </listitem>
 
@@ -432,7 +431,7 @@
 <listitem>
 <para>
 Bugfix:
-global variables were not initialized when nJScript was used
+global variables were not initialized when njs was used
 in nginx.
 </para>
 </listitem>
--- a/xml/en/docs/njs_about.xml	Thu Apr 12 21:45:35 2018 +0300
+++ b/xml/en/docs/njs_about.xml	Fri Apr 06 20:17:57 2018 +0300
@@ -9,7 +9,7 @@
 <article name="About njs"
         link="/en/docs/njs_about.html"
         lang="en"
-        rev="16">
+        rev="17">
 
 <section id="summary">
 
@@ -176,22 +176,24 @@
 </listitem>
 
 <listitem>
-<literal>setTimeout</literal>, <literal>clearTimeout</literal> functions
+<literal>setTimeout()</literal> and <literal>clearTimeout()</literal> functions
+(0.2.0)
 </listitem>
 
 <listitem>
-<literal>File system</literal> methods
-(<link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link>):
+<link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link>
+<literal>File system</literal> methods:
 <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>):
+<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link>
+<literal>Crypto</literal> methods (0.2.0):
 <literal>crypto.createHash</literal>,
 <literal>crypto.createHmac</literal>
+
 </listitem>
 
 </list>
--- a/xml/ru/docs/njs_about.xml	Thu Apr 12 21:45:35 2018 +0300
+++ b/xml/ru/docs/njs_about.xml	Fri Apr 06 20:17:57 2018 +0300
@@ -9,7 +9,7 @@
 <article name="Информация о njs"
         link="/ru/docs/njs_about.html"
         lang="ru"
-        rev="16">
+        rev="17">
 
 <section id="summary">
 
@@ -175,12 +175,13 @@
 </listitem>
 
 <listitem>
-функции <literal>setTimeout</literal>, <literal>clearTimeout</literal>
+Функции <literal>setTimeout()</literal> и <literal>clearTimeout()</literal>
+(0.2.0)
 </listitem>
 
 <listitem>
 Методы <literal>File system</literal>
-(<link url="https://nodejs.org/api/fs.html#fs_file_system">стиль Node.js</link>):
+<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>
@@ -188,7 +189,8 @@
 
 <listitem>
 Методы <literal>Crypto</literal>
-(<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">стиль Node.js</link>):
+<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">стиль Node.js</link>
+(0.2.0):
 <literal>crypto.createHash</literal>,
 <literal>crypto.createHmac</literal>
 </listitem>