diff options
Diffstat (limited to 'files/zh-cn/web/api/file')
-rw-r--r-- | files/zh-cn/web/api/file/file/index.html | 52 | ||||
-rw-r--r-- | files/zh-cn/web/api/file/lastmodified/index.html | 52 | ||||
-rw-r--r-- | files/zh-cn/web/api/file/type/index.html | 54 | ||||
-rw-r--r-- | files/zh-cn/web/api/file/webkitrelativepath/index.html | 50 |
4 files changed, 4 insertions, 204 deletions
diff --git a/files/zh-cn/web/api/file/file/index.html b/files/zh-cn/web/api/file/file/index.html index efa7b30382..1bd5b591a8 100644 --- a/files/zh-cn/web/api/file/file/index.html +++ b/files/zh-cn/web/api/file/file/index.html @@ -52,57 +52,7 @@ translation_of: Web/API/File/File <h2 id="浏览器兼容性">浏览器兼容性</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>Basic support</td> - <td>13</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("7")}}</td> - <td>10.0</td> - <td>11.5</td> - <td>6.0</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("7")}}</td> - <td>{{CompatNo}}</td> - <td>11.1</td> - <td>6.0</td> - </tr> - </tbody> -</table> -</div> +{{Compat("api.File.File")}} <h2 id="另见">另见</h2> diff --git a/files/zh-cn/web/api/file/lastmodified/index.html b/files/zh-cn/web/api/file/lastmodified/index.html index 3f0a31de7c..48c78b130d 100644 --- a/files/zh-cn/web/api/file/lastmodified/index.html +++ b/files/zh-cn/web/api/file/lastmodified/index.html @@ -75,57 +75,7 @@ console.log(fileWithoutDate.lastModified); //returns current time <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{CompatibilityTable}}</p> - -<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>File.lastModified</td> - <td>13.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("15.0")}}</td> - <td>10.0</td> - <td>16.0</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>File.lastModified</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("api.File.lastModified")}} <h2 id="参见">参见</h2> diff --git a/files/zh-cn/web/api/file/type/index.html b/files/zh-cn/web/api/file/type/index.html index e0281d5078..aa3cd74a21 100644 --- a/files/zh-cn/web/api/file/type/index.html +++ b/files/zh-cn/web/api/file/type/index.html @@ -53,59 +53,7 @@ translation_of: Web/API/File/type <h2 id="浏览器兼容性">浏览器兼容性</h2> -<p>{{CompatibilityTable}}</p> - -<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>File.name</td> - <td>13.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("1.9.2")}}</td> - <td>10.0</td> - <td>16.0</td> - <td>{{CompatVersionUnknown}} [1]</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>File.name</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] {{webkitbug("32912")}}</p> +{{Compat("api.File.type")}} <h2 id="Specification" name="Specification">另见</h2> diff --git a/files/zh-cn/web/api/file/webkitrelativepath/index.html b/files/zh-cn/web/api/file/webkitrelativepath/index.html index e8e86bc53c..68b9338b61 100644 --- a/files/zh-cn/web/api/file/webkitrelativepath/index.html +++ b/files/zh-cn/web/api/file/webkitrelativepath/index.html @@ -67,55 +67,7 @@ translation_of: Web/API/File/webkitRelativePath <h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</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 (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>13 {{ property_prefix("webkit") }}</td> - <td>{{ CompatGeckoDesktop(49) }}</td> - <td>{{ CompatNo }}</td> - <td>{{ CompatNo }}</td> - <td>{{ CompatNo }}</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 Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{ CompatNo }}</td> - <td>0.16 {{ property_prefix("webkit") }}</td> - <td>{{ CompatGeckoMobile(49) }}</td> - <td>{{ CompatNo }}</td> - <td>{{ CompatNo }}</td> - <td>{{ CompatNo }}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("api.File.webkitRelativePath")}} <h2 id="另见">另见</h2> |