Mercurial > hg > nginx-site
comparison xml/ru/docs/njs/compatibility.xml @ 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 | 1a6524706c70 |
children | 867fe207f13e |
comparison
equal
deleted
inserted
replaced
2332:9d502d4305ac | 2333:fb5e1d2d4c75 |
---|---|
7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 7 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
8 | 8 |
9 <article name="Совместимость" | 9 <article name="Совместимость" |
10 link="/ru/docs/njs/compatibility.html" | 10 link="/ru/docs/njs/compatibility.html" |
11 lang="ru" | 11 lang="ru" |
12 rev="6"> | 12 rev="7" |
13 toc="no"> | |
13 | 14 |
14 <section> | 15 <section> |
15 | 16 |
16 <para> | 17 <para> |
17 njs совместим с | 18 njs совместим с |
109 <list type="bullet"> | 110 <list type="bullet"> |
110 <listitem> | 111 <listitem> |
111 ES5.1: | 112 ES5.1: |
112 <literal>create</literal> (поддержка без списка свойств), | 113 <literal>create</literal> (поддержка без списка свойств), |
113 <literal>keys</literal>, | 114 <literal>keys</literal>, |
114 <literal>defineProperty</literal>, | 115 <literal>defineProperty</literal> (поддержка без дескрипторов доступа), |
115 <literal>defineProperties</literal>, | 116 <literal>defineProperties</literal> (поддержка без дескрипторов доступа), |
116 <literal>getOwnPropertyDescriptor</literal>, | 117 <literal>getOwnPropertyDescriptor</literal>, |
117 <literal>getPrototypeOf</literal>, | 118 <literal>getPrototypeOf</literal>, |
118 <literal>hasOwnProperty</literal>, | 119 <literal>hasOwnProperty</literal>, |
119 <literal>isPrototypeOf</literal>, | 120 <literal>isPrototypeOf</literal>, |
120 <literal>preventExtensions</literal>, | 121 <literal>preventExtensions</literal>, |
216 <link doc="reference.xml" id="cleartimeout"><literal>clearTimeout</literal></link> | 217 <link doc="reference.xml" id="cleartimeout"><literal>clearTimeout</literal></link> |
217 (0.2.0) | 218 (0.2.0) |
218 </listitem> | 219 </listitem> |
219 | 220 |
220 <listitem> | 221 <listitem> |
221 Методы <literal>File system</literal> | 222 Методы <literal>File system</literal>: |
222 <link url="https://nodejs.org/api/fs.html#fs_file_system">стиль Node.js</link>: | |
223 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, | 223 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, |
224 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, | 224 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, |
225 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link> | 225 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link> |
226 </listitem> | 226 </listitem> |
227 | 227 |
228 <listitem> | 228 <listitem> |
229 Методы <literal>Crypto</literal> | 229 Методы <literal>Crypto</literal> (0.2.0): |
230 <link url="https://nodejs.org/api/crypto.html#crypto_class_hash">стиль Node.js</link> | |
231 (0.2.0): | |
232 <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, | 230 <link doc="reference.xml" id="crypto_createhash"><literal>crypto.createHash</literal></link>, |
233 <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> | 231 <link doc="reference.xml" id="crypto_createhmac"><literal>crypto.createHmac</literal></link> |
234 </listitem> | 232 </listitem> |
235 | 233 |
236 </list> | 234 </list> |
237 </para> | 235 </para> |
238 | 236 |
239 </section> | 237 </section> |
240 | 238 |
241 | |
242 <section id="not_supported" name="Функциональность в разработке"> | |
243 | |
244 <para> | |
245 <list type="bullet"> | |
246 | |
247 <listitem> | |
248 ES6 объявления <literal>let</literal> и <literal>const</literal> | |
249 </listitem> | |
250 | |
251 <listitem> | |
252 labels | |
253 </listitem> | |
254 | |
255 <listitem> | |
256 функция <literal>eval</literal> | |
257 </listitem> | |
258 | |
259 <listitem> | |
260 конструктор <literal>new Function()</literal> | |
261 </listitem> | |
262 | |
263 <listitem> | |
264 функции <literal>setInterval</literal>, | |
265 <literal>setImmediate</literal> | |
266 </listitem> | |
267 | |
268 </list> | |
269 </para> | |
270 | |
271 </section> | |
272 | |
273 </article> | 239 </article> |
274 | 240 |