From 9a110dee28ae2ef12ee014b98fda6bae6ee48edb Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Wed, 2 Mar 2022 20:22:51 +0900 Subject: Migrate to Compat macro (zh-cn) --- .../web/api/geolocation/clearwatch/index.html | 52 +--------------------- .../api/geolocation/getcurrentposition/index.html | 52 +--------------------- files/zh-cn/web/api/geolocation/index.html | 52 +--------------------- .../web/api/geolocation/watchposition/index.html | 52 +--------------------- 4 files changed, 4 insertions(+), 204 deletions(-) (limited to 'files/zh-cn/web/api/geolocation') diff --git a/files/zh-cn/web/api/geolocation/clearwatch/index.html b/files/zh-cn/web/api/geolocation/clearwatch/index.html index aea6a4632c..51249eb7b2 100644 --- a/files/zh-cn/web/api/geolocation/clearwatch/index.html +++ b/files/zh-cn/web/api/geolocation/clearwatch/index.html @@ -70,57 +70,7 @@ id = navigator.geolocation.watchPosition(success, error, options);

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support5{{CompatGeckoDesktop("1.9.1")}}910.60
- Removed in 15.0
- Reintroduced in 16.0
5
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown()}}{{CompatUnknown()}}{{CompatGeckoMobile("4")}}{{CompatUnknown()}}10.60{{CompatUnknown()}}
-
+{{Compat("api.Geolocation.clearWatch")}}

 

diff --git a/files/zh-cn/web/api/geolocation/getcurrentposition/index.html b/files/zh-cn/web/api/geolocation/getcurrentposition/index.html index 27b99b28e7..a6f6de414c 100644 --- a/files/zh-cn/web/api/geolocation/getcurrentposition/index.html +++ b/files/zh-cn/web/api/geolocation/getcurrentposition/index.html @@ -74,57 +74,7 @@ navigator.geolocation.getCurrentPosition(success, error, options);

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support5{{CompatGeckoDesktop("1.9.1")}}910.60
- Removed in 15.0
- Reintroduced in 16.0
5
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown()}}{{CompatUnknown()}}{{CompatGeckoMobile("4")}}{{CompatUnknown()}}10.60{{CompatUnknown()}}
-
+{{Compat("api.Geolocation.getCurrentPosition")}}

请参考

diff --git a/files/zh-cn/web/api/geolocation/index.html b/files/zh-cn/web/api/geolocation/index.html index 78cf3c6dc5..834db180fd 100644 --- a/files/zh-cn/web/api/geolocation/index.html +++ b/files/zh-cn/web/api/geolocation/index.html @@ -58,57 +58,7 @@ translation_of: Web/API/Geolocation

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
特性ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基础支持5{{CompatGeckoDesktop("1.9.1")}}910.60
- 15.0取消支持
- 16.0重新支持
5
-
- -
- - - - - - - - - - - - - - - - - - - - - -
特性AndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基础支持{{CompatUnknown()}}{{CompatUnknown()}}{{CompatGeckoMobile("4")}}{{CompatUnknown()}}10.60{{CompatUnknown()}}
-
+{{Compat("api.Geolocation")}}

参见

diff --git a/files/zh-cn/web/api/geolocation/watchposition/index.html b/files/zh-cn/web/api/geolocation/watchposition/index.html index e2170f685f..2f8c20f5ec 100644 --- a/files/zh-cn/web/api/geolocation/watchposition/index.html +++ b/files/zh-cn/web/api/geolocation/watchposition/index.html @@ -80,57 +80,7 @@ id = navigator.geolocation.watchPosition(success, error, options);

浏览器兼容性

-

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support5{{CompatGeckoDesktop("1.9.1")}}910.60
- Removed in 15.0
- Reintroduced in 16.0
5
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown()}}{{CompatUnknown()}}{{CompatGeckoMobile("4")}}{{CompatUnknown()}}10.60{{CompatUnknown()}}
-
+{{Compat("api.Geolocation.watchPosition")}}

 

-- cgit v1.2.3-54-g00ecf