diff options
author | alattalatta <urty5656@gmail.com> | 2021-05-23 23:00:15 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 23:00:15 +0900 |
commit | 26bb6bea485bb329d74411531d2edba2453afcc8 (patch) | |
tree | a26d12261338269eaba20f12e945884e9e5ab7cc /files/ko/web/javascript/reference/statements | |
parent | bd7d51f8284bbbf840dae6b54d9b5c24af2e3eff (diff) | |
download | translated-content-26bb6bea485bb329d74411531d2edba2453afcc8.tar.gz translated-content-26bb6bea485bb329d74411531d2edba2453afcc8.tar.bz2 translated-content-26bb6bea485bb329d74411531d2edba2453afcc8.zip |
[FIX] Get rid of {{CompatibilityTable}} from JavaScript (#918)
* Add browser-compat to JS pages with legacy compat
* Get rid of {{CompatibilityTable}} from JavaScript
Diffstat (limited to 'files/ko/web/javascript/reference/statements')
-rw-r--r-- | files/ko/web/javascript/reference/statements/label/index.html | 89 | ||||
-rw-r--r-- | files/ko/web/javascript/reference/statements/while/index.html | 96 |
2 files changed, 15 insertions, 170 deletions
diff --git a/files/ko/web/javascript/reference/statements/label/index.html b/files/ko/web/javascript/reference/statements/label/index.html index 49d6054031..e7003a5b1e 100644 --- a/files/ko/web/javascript/reference/statements/label/index.html +++ b/files/ko/web/javascript/reference/statements/label/index.html @@ -2,6 +2,7 @@ title: label slug: Web/JavaScript/Reference/Statements/label translation_of: Web/JavaScript/Reference/Statements/label +browser-compat: javascript.statements.label --- <div>{{jsSidebar("Statements")}}</div> @@ -149,89 +150,13 @@ L: function F() {} // SyntaxError: generator functions cannot be labelled </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('ES3')}}</td> - <td>{{Spec2('ES3')}}</td> - <td>Initial definition. Implemented in JavaScript 1.2</td> - </tr> - <tr> - <td>{{SpecName('ES5.1', '#sec-12.12', 'Labelled statement')}}</td> - <td>{{Spec2('ES5.1')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-labelled-statements', 'Labelled statement')}}</td> - <td>{{Spec2('ES6')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('ESDraft', '#sec-labelled-statements', 'Labelled statement')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - </tbody> -</table> - -<h2 id="브라우저_호환성">브라우저 호환성</h2> - -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<h2 id="specifications">명세</h2> -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Specifications}}</p> + +<h2 id="browser_compatibility">브라우저 호환성</h2> + +<p>{{Compat}}</p> <h2 id="더_알아보기">더 알아보기</h2> diff --git a/files/ko/web/javascript/reference/statements/while/index.html b/files/ko/web/javascript/reference/statements/while/index.html index 5509404ed6..bde7b43330 100644 --- a/files/ko/web/javascript/reference/statements/while/index.html +++ b/files/ko/web/javascript/reference/statements/while/index.html @@ -5,6 +5,7 @@ tags: - 반복문 - 자바스크립트 translation_of: Web/JavaScript/Reference/Statements/while +browser-compat: javascript.statements.while --- <div>{{jsSidebar("Statements")}}</div> @@ -45,94 +46,13 @@ while (n < 3) { <p>세번째 반복후, n<3 이라는 초건은 더 이상 참이아니가 되므로 반복은 종료된다</p> -<h2 id="Specifications">Specifications</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-while-statement', 'while statement')}}</td> - <td>{{Spec2('ESDraft')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('ES6', '#sec-while-statement', 'while statement')}}</td> - <td>{{Spec2('ES6')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('ES5.1', '#sec-12.6.2', 'while statement')}}</td> - <td>{{Spec2('ES5.1')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('ES3', '#sec-12.6.2', 'while statement')}}</td> - <td>{{Spec2('ES3')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('ES1', '#sec-12.6.1', 'while statement')}}</td> - <td>{{Spec2('ES1')}}</td> - <td>Initial definition</td> - </tr> - </tbody> -</table> - -<h2 id="브라우저_호환성">브라우저 호환성</h2> - -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<h2 id="specifications">명세</h2> + +<p>{{Specifications}}</p> + +<h2 id="browser_compatibility">브라우저 호환성</h2> + +<p>{{Compat}}</p> <h2 id="See_also">See also</h2> |