comparison xml/ru/docs/njs/compatibility.xml @ 2269:6426814f9373

Added padStart/padEnd, removed fs.read/write/appendFile in njs Compatibility.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 29 Oct 2018 21:43:29 +0300
parents c30048802769
children 34a1901e663d
comparison
equal deleted inserted replaced
2268:cd1b26111884 2269:6426814f9373
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="3"> 12 rev="4">
13 13
14 <section> 14 <section>
15 15
16 <para> 16 <para>
17 njs совместим с 17 njs совместим с
85 <link doc="reference.xml" id="string_endswith"><literal>endsWith</literal></link>, 85 <link doc="reference.xml" id="string_endswith"><literal>endsWith</literal></link>,
86 <link doc="reference.xml" id="string_repeat"><literal>repeat</literal></link> 86 <link doc="reference.xml" id="string_repeat"><literal>repeat</literal></link>
87 </listitem> 87 </listitem>
88 88
89 <listitem> 89 <listitem>
90 ES8:
91 <link doc="reference.xml" id="string_padstart"><literal>padStart</literal></link>,
92 <link doc="reference.xml" id="string_padend"><literal>padEnd</literal></link>
93 </listitem>
94
95 <listitem>
90 нестандартные: 96 нестандартные:
91 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link> (0.2.3) 97 <link doc="reference.xml" id="string_bytesfrom"><literal>bytesFrom</literal></link> (0.2.3)
92 <link doc="reference.xml" id="string_fromutf8"><literal>fromUTF8</literal></link>, 98 <link doc="reference.xml" id="string_fromutf8"><literal>fromUTF8</literal></link>,
93 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link>, 99 <link doc="reference.xml" id="string_toutf8"><literal>toUTF8</literal></link>,
94 <link doc="reference.xml" id="string_frombytes"><literal>fromBytes</literal></link>, 100 <link doc="reference.xml" id="string_frombytes"><literal>fromBytes</literal></link>,
199 </listitem> 205 </listitem>
200 206
201 <listitem> 207 <listitem>
202 Методы <literal>File system</literal> 208 Методы <literal>File system</literal>
203 <link url="https://nodejs.org/api/fs.html#fs_file_system">стиль Node.js</link>: 209 <link url="https://nodejs.org/api/fs.html#fs_file_system">стиль Node.js</link>:
204 <literal>fs.readFile</literal>,
205 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>, 210 <link doc="reference.xml" id="readfilesync"><literal>fs.readFileSync</literal></link>,
206 <literal>fs.appendFile</literal>,
207 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>, 211 <link doc="reference.xml" id="appendfilesync"><literal>fs.appendFileSync</literal></link>,
208 <literal>fs.writeFile</literal>,
209 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link> 212 <link doc="reference.xml" id="writefilesync"><literal>fs.writeFileSync</literal></link>
210 </listitem> 213 </listitem>
211 214
212 <listitem> 215 <listitem>
213 Методы <literal>Crypto</literal> 216 Методы <literal>Crypto</literal>