Mercurial > hg > nginx-site
changeset 2333:fb5e1d2d4c75
Removed "Not supported" section, updated defineProperty in njs Compatibility.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 26 Feb 2019 18:23:25 +0300 |
parents | 9d502d4305ac |
children | dbe55598d3f6 |
files | xml/en/docs/njs/compatibility.xml xml/ru/docs/njs/compatibility.xml |
diffstat | 2 files changed, 10 insertions(+), 77 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/njs/compatibility.xml +++ b/xml/en/docs/njs/compatibility.xml @@ -9,7 +9,8 @@ <article name="Compatibility" link="/en/docs/njs/compatibility.html" lang="en" - rev="6"> + rev="7" + toc="no"> <section> @@ -111,8 +112,8 @@ non-standard: ES5.1: <literal>create</literal> (support without properties list), <literal>keys</literal>, -<literal>defineProperty</literal>, -<literal>defineProperties</literal>, +<literal>defineProperty</literal> (support without accessor descriptors), +<literal>defineProperties</literal> (support without accessor descriptors), <literal>getOwnPropertyDescriptor</literal>, <literal>getPrototypeOf</literal>, <literal>hasOwnProperty</literal>, @@ -217,7 +218,6 @@ functions (0.2.0) </listitem> <listitem> -<link url="https://nodejs.org/api/fs.html#fs_file_system">Node.js style</link> <literal>File system</literal> methods: <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, @@ -225,7 +225,6 @@ functions (0.2.0) </listitem> <listitem> -<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">Node.js style</link> <literal>Crypto</literal> methods (0.2.0): <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> @@ -236,37 +235,5 @@ functions (0.2.0) </section> - -<section id="not_supported" name="What is not supported yet"> - -<para> -<list type="bullet"> - -<listitem> -ES6 <literal>let</literal> and <literal>const</literal> declarations -</listitem> - -<listitem> -labels -</listitem> - -<listitem> -<literal>eval</literal> function -</listitem> - -<listitem> -<literal>new Function()</literal> constructor -</listitem> - -<listitem> -<literal>setInterval</literal>, -<literal>setImmediate</literal> functions -</listitem> - -</list> -</para> - -</section> - </article>
--- a/xml/ru/docs/njs/compatibility.xml +++ b/xml/ru/docs/njs/compatibility.xml @@ -9,7 +9,8 @@ <article name="Совместимость" link="/ru/docs/njs/compatibility.html" lang="ru" - rev="6"> + rev="7" + toc="no"> <section> @@ -111,8 +112,8 @@ ES8: ES5.1: <literal>create</literal> (поддержка без списка свойств), <literal>keys</literal>, -<literal>defineProperty</literal>, -<literal>defineProperties</literal>, +<literal>defineProperty</literal> (поддержка без дескрипторов доступа), +<literal>defineProperties</literal> (поддержка без дескрипторов доступа), <literal>getOwnPropertyDescriptor</literal>, <literal>getPrototypeOf</literal>, <literal>hasOwnProperty</literal>, @@ -218,17 +219,14 @@ ES5.1 глобальные функции: </listitem> <listitem> -Методы <literal>File system</literal> -<link url="https://nodejs.org/api/fs.html#fs_file_system">стиль Node.js</link>: +Методы <literal>File system</literal>: <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link> </listitem> <listitem> -Методы <literal>Crypto</literal> -<link url="https://nodejs.org/api/crypto.html#crypto_class_hash">стиль Node.js</link> -(0.2.0): +Методы <literal>Crypto</literal> (0.2.0): <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> </listitem> @@ -238,37 +236,5 @@ ES5.1 глобальные функции: </section> - -<section id="not_supported" name="Функциональность в разработке"> - -<para> -<list type="bullet"> - -<listitem> -ES6 объявления <literal>let</literal> и <literal>const</literal> -</listitem> - -<listitem> -labels -</listitem> - -<listitem> -функция <literal>eval</literal> -</listitem> - -<listitem> -конструктор <literal>new Function()</literal> -</listitem> - -<listitem> -функции <literal>setInterval</literal>, -<literal>setImmediate</literal> -</listitem> - -</list> -</para> - -</section> - </article>