Polish browser-support.jade

This commit is contained in:
Yang Lin 2016-12-05 20:12:49 +08:00
parent ad22e4e07d
commit af55e38d11
1 changed files with 49 additions and 35 deletions

View File

@ -69,7 +69,7 @@ table
:marked
## Polyfills #
## 填充库Polyfill #
## 填充库 (polyfill) #
Angular is built on the latest standards of the web platform.
Targeting such a wide range of browsers is challenging because they do not support all features of modern browsers.
@ -79,7 +79,7 @@ table
You compensate by loading polyfill scripts ("polyfills") on the host web page (`index.html`)
that implement missing features in JavaScript.
你可以通过在宿主页面`index.html`中加载填充脚本“polyfills”来加以弥补这些脚本实现了浏览器缺失的JavaScript特性。
你可以通过在宿主页面 (`index.html`) 中加载填充脚本 (“polyfills”) 来加以弥补,这些脚本实现了浏览器缺失的 JavaScript 特性。
+makeExample('quickstart/ts/index.html', 'polyfills')(format='.')
:marked
@ -90,7 +90,7 @@ table
The tables below will help you determine which polyfills to load, depending on the browsers you target and the features you use.
下表将帮你决定加载哪些填充库,具体取决于目标浏览器和要用到的特性。
下表将帮你决定加载哪些填充库,具体取决于目标浏览器和要用到的特性。
.alert.is-important
:marked
@ -98,7 +98,7 @@ table
You may need additional polyfills to support features not covered by this list.
Note that polyfills cannot magically transform an old, slow browser into a modern, fast one.
这些建议的填充库假设你运行的是完全由Angular书写的应用
这些建议的填充库是运行完整 Angular 应用所需的
你可能还会需要另一些的填充库来支持没有出现在此列表中的哪些特性。
注意,这些填充库并没有神奇的魔力来把老旧、慢速的浏览器变成现代、快速的浏览器,它只是填充了 API。
@ -136,12 +136,12 @@ table
### 可选浏览器特性的填充库 ##
Some features of Angular may require additional polyfills.
有些Angular特性可能需要更多填充库。
有些 Angular 特性可能需要额外的填充库。
For example, the animations library relies on the standard web animation API, which is only available in Chrome and Firefox today.
You'll need a polyfill to use animations in other browsers.
比如动画库依赖于标准的动画API目前它只在Chrome和Firefox上可用。你可能需要一个填充库来在其它浏览器上使用动画功能。
例如,动画库依赖于标准的 web 动画 API目前它只在 Chrome 和 Firefox 上可用。你可能需要一个填充库来在其它浏览器上使用动画功能。
Here are the features which may require additional polyfills:
@ -161,8 +161,10 @@ table
tr(style="vertical-align: top")
td
p a(href="./animations.html") Animations
p a(href="./animations.html") 动画
p
a(href="./animations.html") Animations
p
a(href="./animations.html") 动画
td
:marked
[Web Animations](#web-animations)
@ -173,14 +175,24 @@ table
p 除 Chrome 和 Firefox 外的所有,但不支持 IE9
tr(style="vertical-align: top")
td
p
a(href="../api/common/index/DatePipe-pipe.html" target="_blank") Date
span ,
a(href="../api/common/index/CurrencyPipe-pipe.html" target="_blank") currency
span ,
a(href="../api/common/index/DecimalPipe-pipe.html" target="_blank") decimal
span 和
span and
a(href="../api/common/index/PercentPipe-pipe.html" target="_blank") percent
span 管道
span pipes
p
a(href="../api/common/index/DatePipe-pipe.html" target="_blank") Date
span 、
a(href="../api/common/index/CurrencyPipe-pipe.html" target="_blank") currency
span 、
a(href="../api/common/index/DecimalPipe-pipe.html" target="_blank") decimal
span  和 
a(href="../api/common/index/PercentPipe-pipe.html" target="_blank") percent
span  管道
td
:marked
[Intl API](#intl)
@ -189,24 +201,25 @@ table
p 除了 Chrome、Firefox、Edge、IE11 和 Safari 10 外的所有浏览器
tr(style="vertical-align: top")
td
p.
p
a(href="../api/common/index/NgClass-directive.html" target="_blank") NgClass
span on SVG elements
p.
在SVG元素上用a(href="../api/common/index/NgClass-directive.html" target="_blank") NgClass
p
span 在 SVG 元素上用 
a(href="../api/common/index/NgClass-directive.html" target="_blank") NgClass
td
:marked
[classList](#classlist)
td IE10, IE11
tr(style="vertical-align: top")
td
p.
p
a(href="./server-communication.html") Http
span when sending and receiving binary data
p.
span 用
p
span 用 
a(href="./server-communication.html") Http
span 发送和接受二进制数据
span  发送和接受二进制数据
td
:marked
[Typed&nbsp;Array](#typedarray) <br>[Blob](#blob)<br>[FormData](#formdata)
@ -269,6 +282,7 @@ table
td 0.4KB
:marked
* Figures are for minified and gzipped code, computed with the <a href="http://closure-compiler.appspot.com/home" target="_blank">closure compiler</a>
\* Figures are for minified and gzipped code, computed with the <a href="http://closure-compiler.appspot.com/home" target="_blank">closure compiler</a>
* 这些指标测量的是最小化minify并且gzip过的代码使用<a href="http://closure-compiler.appspot.com/home" target="_blank">closure compiler</a>计算出的结果。
\* 这些指标测量的是最小化 (minify) 并且 gzip 过的代码,使用 <a href="http://closure-compiler.appspot.com/home" target="_blank">closure compiler</a>
计算出的结果。