aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/javascript/reference/global_objects/promise
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/promise')
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/all/index.html20
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/allsettled/index.html15
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/any/index.html11
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/catch/index.html20
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/finally/index.html15
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/index.html20
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/race/index.html20
-rw-r--r--files/ru/web/javascript/reference/global_objects/promise/reject/index.html20
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>