diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-25 10:06:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-25 10:06:22 +0300 |
commit | f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9 (patch) | |
tree | 6cde25b36984040fda960876bff7acc84161ed7e /files/ru/web/javascript/reference/global_objects/string | |
parent | e87401f97c68764ae7070f305199af2f529c1def (diff) | |
download | translated-content-f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9.tar.gz translated-content-f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9.tar.bz2 translated-content-f3abb48a00c8c813e6b1bc8fee19e6b4c0414ce9.zip |
Использование макроса для вставки специфицикаций (#2850)
* Использование макроса для вставки специфицикаций
* Replaces
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/string')
3 files changed, 3 insertions, 45 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/string/includes/index.html b/files/ru/web/javascript/reference/global_objects/string/includes/index.html index 1b7dfaf5dd..79181a506a 100644 --- a/files/ru/web/javascript/reference/global_objects/string/includes/index.html +++ b/files/ru/web/javascript/reference/global_objects/string/includes/index.html @@ -77,25 +77,7 @@ console.log(str.includes('БЫТЬ')); // false <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарий</th> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-string.prototype.includes', 'String.prototype.includes')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Изначальное определение.</td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-string.prototype.includes', 'String.prototype.includes')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Поддержка_браузерами">Поддержка браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/string/matchall/index.html b/files/ru/web/javascript/reference/global_objects/string/matchall/index.html index ece52d3043..1ffad309c2 100644 --- a/files/ru/web/javascript/reference/global_objects/string/matchall/index.html +++ b/files/ru/web/javascript/reference/global_objects/string/matchall/index.html @@ -92,18 +92,7 @@ array[1]; <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - </tr> - <tr> - <td><a href="https://tc39.github.io/proposal-string-matchall/#sec-string-prototype-matchall">String.prototype.matchAll</a></td> - <td>Stage 3</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Браузерная_совместимость">Браузерная совместимость</h2> <p>{{Compat("javascript.builtins.String.matchAll")}}</p> diff --git a/files/ru/web/javascript/reference/global_objects/string/padstart/index.html b/files/ru/web/javascript/reference/global_objects/string/padstart/index.html index 855b129568..302f3f8d60 100644 --- a/files/ru/web/javascript/reference/global_objects/string/padstart/index.html +++ b/files/ru/web/javascript/reference/global_objects/string/padstart/index.html @@ -64,20 +64,7 @@ if (!String.prototype.padStart) { <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-string.prototype.padstart', 'String.prototype.padStart')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td>Initial definition in ECMAScript 2017.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Поддержка_браузерами">Поддержка браузерами</h2> <p>{{Compat("javascript.builtins.String.padStart")}}</p> |