diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-02 20:22:51 +0900 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-03-04 01:03:17 +0800 |
commit | 9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch) | |
tree | 6525763f4313d7d8f42aefa699765f61ee1c63df /files/zh-cn/web/api/bluetooth | |
parent | eeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff) | |
download | translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2 translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip |
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files/zh-cn/web/api/bluetooth')
-rw-r--r-- | files/zh-cn/web/api/bluetooth/index.html | 58 | ||||
-rw-r--r-- | files/zh-cn/web/api/bluetooth/requestdevice/index.html | 52 |
2 files changed, 2 insertions, 108 deletions
diff --git a/files/zh-cn/web/api/bluetooth/index.html b/files/zh-cn/web/api/bluetooth/index.html index cd46b72ee7..c2d5cfdc26 100644 --- a/files/zh-cn/web/api/bluetooth/index.html +++ b/files/zh-cn/web/api/bluetooth/index.html @@ -55,60 +55,4 @@ Bluetooth implements ServiceEventHandlers;</pre> <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 (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatChrome (45.0)}} [1]</td> - <td> </td> - <td> </td> - <td> </td> - <td> </td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Android Webview</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td> </td> - <td> </td> - <td> </td> - <td> </td> - <td> </td> - <td>{{CompatChrome (48.0)}} [2]</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] 注意事项:仅谷歌浏览器可用</p> - -<p>[2] 注意事项:仅安卓6以上可用</p> +{{Compat("api.Bluetooth")}} diff --git a/files/zh-cn/web/api/bluetooth/requestdevice/index.html b/files/zh-cn/web/api/bluetooth/requestdevice/index.html index abfad37108..6a3d3f4689 100644 --- a/files/zh-cn/web/api/bluetooth/requestdevice/index.html +++ b/files/zh-cn/web/api/bluetooth/requestdevice/index.html @@ -92,54 +92,4 @@ navigator.bluetooth.requestDevice(options).then(function(device) { <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 (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatChrome (56)}}</td> - <td> </td> - <td> </td> - <td>{{CompatOpera(43)}}</td> - <td> </td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android Webview</th> - <th>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome (56)}}</td> - <td> </td> - <td> </td> - <td> </td> - <td>{{CompatOperaMobile(43)}}</td> - <td> </td> - </tr> - </tbody> -</table> -</div> +{{Compat("api.Bluetooth.requestDevice")}} |