diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-27 18:02:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-27 18:02:34 +0300 |
commit | 09d10136633355937867a21d65db64ae3c4d5829 (patch) | |
tree | 7405949290f874407855847c7832da361dd8f9d7 /files/ru/web/javascript/reference/classes | |
parent | 56817c1235a48d66c12ddf1c3d37a0e61977b875 (diff) | |
download | translated-content-09d10136633355937867a21d65db64ae3c4d5829.tar.gz translated-content-09d10136633355937867a21d65db64ae3c4d5829.tar.bz2 translated-content-09d10136633355937867a21d65db64ae3c4d5829.zip |
Использование макроса для вставки специфицикаций - 2 (#2883)
Diffstat (limited to 'files/ru/web/javascript/reference/classes')
-rw-r--r-- | files/ru/web/javascript/reference/classes/constructor/index.html | 20 | ||||
-rw-r--r-- | files/ru/web/javascript/reference/classes/extends/index.html | 20 |
2 files changed, 2 insertions, 38 deletions
diff --git a/files/ru/web/javascript/reference/classes/constructor/index.html b/files/ru/web/javascript/reference/classes/constructor/index.html index 81546fdb27..ca18537bcc 100644 --- a/files/ru/web/javascript/reference/classes/constructor/index.html +++ b/files/ru/web/javascript/reference/classes/constructor/index.html @@ -168,25 +168,7 @@ console.log(newInstance.name); //Polygon</pre> <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('ES2015', '#sec-static-semantics-constructormethod', 'Constructor Method')}}</td> - <td>{{Spec2('ES2015')}}</td> - <td>Изначальное определение.</td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-static-semantics-constructormethod', 'Constructor Method')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td></td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> <p>{{Compat("javascript.classes.constructor")}}</p> diff --git a/files/ru/web/javascript/reference/classes/extends/index.html b/files/ru/web/javascript/reference/classes/extends/index.html index 81dedf8144..f40f53d8d6 100644 --- a/files/ru/web/javascript/reference/classes/extends/index.html +++ b/files/ru/web/javascript/reference/classes/extends/index.html @@ -82,25 +82,7 @@ new nullExtends(); //ReferenceError: this is not defined <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('ES2015', '#sec-class-definitions', 'extends')}}</td> - <td>{{Spec2('ES2015')}}</td> - <td>Initial definition.</td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-class-definitions', 'extends')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - </tbody> -</table> +{{Specifications}} <h2 id="Совместимость_с_браузерами">Совместимость с браузерами</h2> |