diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2021-03-30 18:22:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 18:22:36 +0900 |
commit | 8e33c52f809796c68a683ad343f37ee4e7ce4616 (patch) | |
tree | 8173bf5eaf5c192eb2487efe37c7b74997800898 /files/ja/web/javascript | |
parent | 8ea157f6b6fbef9c60695918c6a6382677e5b5df (diff) | |
download | translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.tar.gz translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.tar.bz2 translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.zip |
Migrate CompatibilityTable to Compat macro (lang-ja) (#356)
* Migrate to Compat macro (ja/mozilla/add-ons/webextensions)
* Migrate to Compat macro (ja/web/api)
Diffstat (limited to 'files/ja/web/javascript')
5 files changed, 5 insertions, 257 deletions
diff --git a/files/ja/web/javascript/reference/global_objects/weakmap/clear/index.html b/files/ja/web/javascript/reference/global_objects/weakmap/clear/index.html index 5616cd0a70..b538566db1 100644 --- a/files/ja/web/javascript/reference/global_objects/weakmap/clear/index.html +++ b/files/ja/web/javascript/reference/global_objects/weakmap/clear/index.html @@ -42,55 +42,7 @@ wm.has(window) // false <h2 id="ブラウザ実装状況">ブラウザ実装状況</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本サポート</td> - <td>36</td> - <td>{{CompatNo}} [1]</td> - <td>11</td> - <td>23</td> - <td>7.1</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}} [1]</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>iOS 8</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] <code>clear()</code> メソッドは、バージョン 20 から 45 までサポートされていました。</p> +<p>{{Compat("javascript.builtins.WeakMap.clear")}}</p> <h2 id="関連情報">関連情報</h2> diff --git a/files/ja/web/javascript/reference/global_objects/weakset/clear/index.html b/files/ja/web/javascript/reference/global_objects/weakset/clear/index.html index 071596ce79..b8964bfe9e 100644 --- a/files/ja/web/javascript/reference/global_objects/weakset/clear/index.html +++ b/files/ja/web/javascript/reference/global_objects/weakset/clear/index.html @@ -39,53 +39,7 @@ ws.has(window); // false <h2 id="ブラウザ実装状況">ブラウザ実装状況</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本サポート</td> - <td>36</td> - <td>{{ CompatGeckoDesktop(34) }}</td> - <td>{{CompatNo}}</td> - <td>23</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatNo}}</td> - <td>{{ CompatGeckoMobile(34) }}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("javascript.builtins.WeakSet.clear")}}</p> <h2 id="関連情報">関連情報</h2> diff --git a/files/ja/web/javascript/reference/global_objects/webassembly/module/customsections/index.html b/files/ja/web/javascript/reference/global_objects/webassembly/module/customsections/index.html index 757c3e33e4..1915dd6f59 100644 --- a/files/ja/web/javascript/reference/global_objects/webassembly/module/customsections/index.html +++ b/files/ja/web/javascript/reference/global_objects/webassembly/module/customsections/index.html @@ -77,63 +77,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/WebAssembly/Module/custo <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>基本サポート</td> - <td>57</td> - <td>15<sup>[2]</sup></td> - <td>{{CompatGeckoDesktop(52)}}<sup>[1]</sup></td> - <td>{{CompatNo}}</td> - <td>44</td> - <td>11</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome for Android</th> - <th>Android Webview</th> - <th>Edge Mobile</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>57</td> - <td>57</td> - <td>{{CompatNo}}</td> - <td>{{CompatGeckoMobile(52)}}<sup>[1]</sup></td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>11</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] WebAssemblyはFirefox 52+で有効です。<a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 52 Extended Support Release</a> (ESR.)では無効化されています。</p> - -<p>[2] 現在、“Experimental JavaScript Features” フラグを付けることでサポートされます。詳細については <a href="https://blogs.windows.com/msedgedev/2017/04/20/improved-javascript-performance-webassembly-shared-memory/">このブログ記事</a> を参照してください。</p> +<p>{{Compat("javascript.builtins.WebAssembly.Module.customSections")}}</p> <h2 id="関連情報">関連情報</h2> diff --git a/files/ja/web/javascript/reference/operators/async_function/index.html b/files/ja/web/javascript/reference/operators/async_function/index.html index f6b13ca9f2..b2e2b5476e 100644 --- a/files/ja/web/javascript/reference/operators/async_function/index.html +++ b/files/ja/web/javascript/reference/operators/async_function/index.html @@ -86,61 +86,7 @@ add(10).then(v => { <h2 id="ブラウザー実装状況">ブラウザー実装状況</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th> Edge</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatChrome(55)}}</td> - <td>{{CompatGeckoDesktop("52.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera(42)}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Android Webview</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("52.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera(42)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatChrome(55)}}</td> - </tr> - </tbody> -</table> -</div> - -<p> </p> +<p>{{Compat("javascript.operators.async_function")}}</p> <h2 id="関連項目">関連項目</h2> diff --git a/files/ja/web/javascript/reference/operators/void/index.html b/files/ja/web/javascript/reference/operators/void/index.html index eab7076612..d86ba34f95 100644 --- a/files/ja/web/javascript/reference/operators/void/index.html +++ b/files/ja/web/javascript/reference/operators/void/index.html @@ -93,55 +93,7 @@ translation_of: Web/JavaScript/Reference/Operators/void <h2 id="ブラウザ実装状況">ブラウザ実装状況</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本サポート</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>機能</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>基本サポート</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("javascript.operators.void")}}</p> <h2 id="関連項目">関連項目</h2> |