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/promise | |
| 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/promise')
8 files changed, 8 insertions, 133 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/promise/all/index.html b/files/ru/web/javascript/reference/global_objects/promise/all/index.html index 1e883ca751..4dd5e75c5d 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/all/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/all/index.html @@ -88,25 +88,7 @@ Promise.all([p1, p2, p3, p4, p5]).then(value => { <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('ESDraft', '#sec-promise.all', 'Promise.all')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-promise.all', 'Promise.all')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Первоначальный вариант в стандарте ECMA.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/promise/allsettled/index.html b/files/ru/web/javascript/reference/global_objects/promise/allsettled/index.html index 8ecfb70b17..84924da83d 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/allsettled/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/allsettled/index.html @@ -28,20 +28,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/allSettled <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><a href="https://tc39.es/proposal-promise-allSettled/"><code>Promise.allSettled()</code> (TC39 Stage 4 Draft)</a></td> - <td>{{Spec2('ESDraft')}}</td> - <td></td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> <p>{{Compat("javascript.builtins.Promise.allSettled")}}</p> diff --git a/files/ru/web/javascript/reference/global_objects/promise/any/index.html b/files/ru/web/javascript/reference/global_objects/promise/any/index.html index 9216e7496e..f6fcd83b90 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/any/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/any/index.html @@ -54,16 +54,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/any <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - </tr> - <tr> - <td><a href="https://tc39.es/proposal-promise-any/#sec-promise.any">ESNext Promise.any Proposal</a></td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/promise/catch/index.html b/files/ru/web/javascript/reference/global_objects/promise/catch/index.html index e3250af6e5..06462d9d17 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/catch/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/catch/index.html @@ -125,25 +125,7 @@ p3.catch(function(e) { <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('ES6', '#sec-promise.prototype.catch', 'Promise.prototype.catch')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Initial definition in an ECMA standard.</td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-promise.prototype.catch', 'Promise.prototype.catch')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/promise/finally/index.html b/files/ru/web/javascript/reference/global_objects/promise/finally/index.html index 1dd8d6b20f..e55ab0ed02 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/finally/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/finally/index.html @@ -68,20 +68,7 @@ fetch(myRequest).then(function(response) { <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><a href="https://github.com/tc39/proposal-promise-finally">TC39 proposal</a></td> - <td>Stage 4</td> - <td></td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Браузерная_совместимость">Браузерная совместимость</h2> <p>{{Compat("javascript.builtins.Promise.finally")}}</p> diff --git a/files/ru/web/javascript/reference/global_objects/promise/index.html b/files/ru/web/javascript/reference/global_objects/promise/index.html index e08551c0af..22c7f31644 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/index.html @@ -219,25 +219,7 @@ else { <h2 id="Спецификации">Спецификации</h2> -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Спецификация</th> - <th scope="col">Статус</th> - <th scope="col">Комментарий</th> - </tr> - <tr> - <td><a href="https://github.com/domenic/promises-unwrapping">domenic/promises-unwrapping</a></td> - <td>Черновик</td> - <td>Начало работы над стандартом.</td> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-promise-objects', 'Promise')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Изначальное определение в стандарте ECMA.</td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> diff --git a/files/ru/web/javascript/reference/global_objects/promise/race/index.html b/files/ru/web/javascript/reference/global_objects/promise/race/index.html index b69ab1984e..8a1d6ac151 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/race/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/race/index.html @@ -80,25 +80,7 @@ Promise.race([p5, p6]).then(function(value) { <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-promise.race', 'Promise.race')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Изначальное определение в стандарте ECMA.</td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-promise.race', 'Promise.race')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> <p>{{Compat("javascript.builtins.Promise.race")}}</p> diff --git a/files/ru/web/javascript/reference/global_objects/promise/reject/index.html b/files/ru/web/javascript/reference/global_objects/promise/reject/index.html index 3e20108690..4200ded8cf 100644 --- a/files/ru/web/javascript/reference/global_objects/promise/reject/index.html +++ b/files/ru/web/javascript/reference/global_objects/promise/reject/index.html @@ -40,25 +40,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Promise/reject <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-promise.reject', 'Promise.reject')}}</td> - <td>{{Spec2('ES6')}}</td> - <td>Исходное определение в стандарте ECMA.</td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-promise.reject', 'Promise.reject')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> <p>{{Compat("javascript.builtins.Promise.reject")}}</p> |
