aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/javascript/reference/global_objects/math
diff options
context:
space:
mode:
authoralattalatta <urty5656@gmail.com>2021-05-23 23:00:15 +0900
committerGitHub <noreply@github.com>2021-05-23 23:00:15 +0900
commit26bb6bea485bb329d74411531d2edba2453afcc8 (patch)
treea26d12261338269eaba20f12e945884e9e5ab7cc /files/ko/web/javascript/reference/global_objects/math
parentbd7d51f8284bbbf840dae6b54d9b5c24af2e3eff (diff)
downloadtranslated-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/global_objects/math')
-rw-r--r--files/ko/web/javascript/reference/global_objects/math/ceil/index.html91
-rw-r--r--files/ko/web/javascript/reference/global_objects/math/fround/index.html81
-rw-r--r--files/ko/web/javascript/reference/global_objects/math/imul/index.html81
3 files changed, 24 insertions, 229 deletions
diff --git a/files/ko/web/javascript/reference/global_objects/math/ceil/index.html b/files/ko/web/javascript/reference/global_objects/math/ceil/index.html
index ee5998fa83..3cff0f2b0b 100644
--- a/files/ko/web/javascript/reference/global_objects/math/ceil/index.html
+++ b/files/ko/web/javascript/reference/global_objects/math/ceil/index.html
@@ -2,6 +2,7 @@
title: Math.ceil()
slug: Web/JavaScript/Reference/Global_Objects/Math/ceil
translation_of: Web/JavaScript/Reference/Global_Objects/Math/ceil
+browser-compat: javascript.builtins.Math.ceil
---
<div>{{JSRef}}</div>
@@ -114,89 +115,13 @@ Math.ceil10(-55.59, -1); // -55.5
Math.ceil10(-59, 1); // -50
</pre>
-<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('ES1')}}</td>
- <td>{{Spec2('ES1')}}</td>
- <td>Initial definition. Implemented in JavaScript 1.0.</td>
- </tr>
- <tr>
- <td>{{SpecName('ES5.1', '#sec-15.8.2.6', 'Math.ceil')}}</td>
- <td>{{Spec2('ES5.1')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ES6', '#sec-math.ceil', 'Math.ceil')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td> </td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-math.ceil', 'Math.ceil')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility_(브라우저_호환성)">Browser compatibility (브라우저 호환성)</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<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>
diff --git a/files/ko/web/javascript/reference/global_objects/math/fround/index.html b/files/ko/web/javascript/reference/global_objects/math/fround/index.html
index 6fd328a2db..6e0b5f24bc 100644
--- a/files/ko/web/javascript/reference/global_objects/math/fround/index.html
+++ b/files/ko/web/javascript/reference/global_objects/math/fround/index.html
@@ -7,6 +7,7 @@ tags:
- Method
- Reference
translation_of: Web/JavaScript/Reference/Global_Objects/Math/fround
+browser-compat: javascript.builtins.Math.fround
---
<div>{{JSRef}}</div>
@@ -49,79 +50,13 @@ Math.fround(NaN); // NaN
})(Float32Array(1));
</pre>
-<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-math.fround', 'Math.fround')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td>초기 정의.</td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-math.fround', 'Math.fround')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="브라우저_호환성">브라우저 호환성</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<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>{{CompatChrome("38")}}</td>
- <td>{{CompatGeckoDesktop("26")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("25")}}</td>
- <td>{{CompatSafari("7.1")}}</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>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>8</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>
diff --git a/files/ko/web/javascript/reference/global_objects/math/imul/index.html b/files/ko/web/javascript/reference/global_objects/math/imul/index.html
index e5f7a919ab..b417f090b0 100644
--- a/files/ko/web/javascript/reference/global_objects/math/imul/index.html
+++ b/files/ko/web/javascript/reference/global_objects/math/imul/index.html
@@ -7,6 +7,7 @@ tags:
- Method
- Reference
translation_of: Web/JavaScript/Reference/Global_Objects/Math/imul
+browser-compat: javascript.builtins.Math.imul
---
<div>{{JSRef}}</div>
@@ -55,76 +56,10 @@ Math.imul(0xfffffffe, 5); // -10
};
</pre>
-<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-math.imul', 'Math.imul')}}</td>
- <td>{{Spec2('ES6')}}</td>
- <td>초기 정의.</td>
- </tr>
- <tr>
- <td>{{SpecName('ESDraft', '#sec-math.imul', 'Math.imul')}}</td>
- <td>{{Spec2('ESDraft')}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="브라우저_호환성">브라우저 호환성</h2>
-
-<div>{{CompatibilityTable}}</div>
-
-<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>{{CompatChrome("28")}}</td>
- <td>{{CompatGeckoDesktop("20")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera("16")}}</td>
- <td>{{CompatSafari("7")}}</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>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("20")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>7</td>
- </tr>
- </tbody>
-</table>
-</div>
+<h2 id="specifications">명세</h2>
+
+<p>{{Specifications}}</p>
+
+<h2 id="browser_compatibility">브라우저 호환성</h2>
+
+<p>{{Compat}}</p>