From 1940b1812455819b936e1bb3d703af24bf0f1a6b Mon Sep 17 00:00:00 2001 From: Judy Bogart Date: Wed, 17 Jan 2018 12:56:04 -0800 Subject: [PATCH] docs: update browser support (#21606) PR Close #21606 --- aio/content/guide/browser-support.md | 96 +++++----------------------- 1 file changed, 16 insertions(+), 80 deletions(-) diff --git a/aio/content/guide/browser-support.md b/aio/content/guide/browser-support.md index b87fa37ab6..d5d9b76a14 100644 --- a/aio/content/guide/browser-support.md +++ b/aio/content/guide/browser-support.md @@ -2,7 +2,6 @@ Angular supports most recent browsers. This includes the following specific versions: - @@ -52,7 +51,7 @@ Angular supports most recent browsers. This includes the following specific vers - - - - - - - - - - - - - - - - - - - -
- 14 + 2 most recent major versions @@ -60,11 +59,11 @@ Angular supports most recent browsers. This includes the following specific vers - 10 + 2 most recent major versions - 10 + 2 most recent major versions @@ -88,7 +87,7 @@ Angular supports most recent browsers. This includes the following specific vers - 13 + @@ -96,11 +95,11 @@ Angular supports most recent browsers. This includes the following specific vers - 9 + - 9 + @@ -132,11 +131,11 @@ Angular supports most recent browsers. This includes the following specific vers - 8 + - 8 + @@ -149,42 +148,6 @@ Angular supports most recent browsers. This includes the following specific vers
- - - - - - - - - 7 - - 7 - - Jelly Bean
(4.1, 4.2, 4.3) -
- -
@@ -219,21 +182,17 @@ the CLI created with your project. This file incorporates the mandatory and many of the optional polyfills as JavaScript `import` statements. -The npm packages for the _mandatory_ polyfills (such as `zone.js`) were installed automatically for you when you created your project and -their corresponding `import` statements are ready to go. -You probably won't touch these. +The npm packages for the _mandatory_ polyfills (such as `zone.js`) were installed automatically for you when you created your project and their corresponding `import` statements are ready to go. You probably won't touch these. But if you need an optional polyfill, you'll have to install its npm package with `npm` or `yarn`. -For example, [if you need the web animations polyfill](http://caniuse.com/#feat=web-animation), -you could install it with either of the following commands: +For example, [if you need the web animations polyfill](http://caniuse.com/#feat=web-animation), you could install it with either of the following commands: npm install --save web-animations-js yarn add web-animations-js -Then open the `polyfills.ts` file and un-comment the corresponding `import` statement -as in the following example: +Then open the `polyfills.ts` file and un-comment the corresponding `import` statement as in the following example: /** @@ -243,7 +202,7 @@ as in the following example: import 'web-animations-js'; // Run `npm install --save web-animations-js`. -If you can't find the polyfill you want in `polyfills.ts`, +If you can't find the polyfill you want in `polyfills.ts`, add it yourself, following the same pattern: 1. install the npm package @@ -281,7 +240,6 @@ These are the polyfills required to run an Angular application on each supported - [ES7/reflect](guide/browser-support#core-es7-reflect) (JIT only) @@ -294,8 +252,6 @@ These are the polyfills required to run an Angular application on each supported - - [ES6](guide/browser-support#core-es6) @@ -308,10 +264,7 @@ These are the polyfills required to run an Angular application on each supported - - [ES6
classList](guide/browser-support#classlist) - @@ -323,8 +276,7 @@ These are the polyfills required to run an Angular application on each supported Some features of Angular may require additional polyfills. -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. +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. Here are the features which may require additional polyfills: @@ -350,20 +302,17 @@ Here are the features which may require additional polyfills: - - [JIT compilation](guide/aot-compiler). + [JIT compilation](guide/aot-compiler). Required to reflect for metadata. - [ES7/reflect](guide/browser-support#core-es7-reflect) - All current browsers. - Enabled by default. - Can remove If you always use AOT and only use Angular decorators. + All current browsers. Enabled by default. + Can remove if you always use AOT and only use Angular decorators. @@ -371,13 +320,10 @@ Here are the features which may require additional polyfills: - [Animations](guide/animations) - - [Web Animations](guide/browser-support#web-animations) @@ -390,13 +336,10 @@ Here are the features which may require additional polyfills: - If you use the following deprecated i18n pipes: [date](api/common/DeprecatedDatePipe), [currency](api/common/DeprecatedCurrencyPipe), [decimal](api/common/DeprecatedDecimalPipe) and [percent](api/common/DeprecatedPercentPipe) - - [Intl API](guide/browser-support#intl) @@ -409,13 +352,10 @@ Here are the features which may require additional polyfills: - [NgClass](api/common/NgClass) on SVG elements - - [classList](guide/browser-support#classlist) @@ -428,12 +368,10 @@ Here are the features which may require additional polyfills: - [Http](guide/http) when sending and receiving binary data - [Typed Array](guide/browser-support#typedarray)
[Blob](guide/browser-support#blob)
[FormData](guide/browser-support#formdata) @@ -474,7 +412,6 @@ Below are the polyfills which are used to test the framework itself. They are a - ES7/reflect @@ -603,7 +540,6 @@ Below are the polyfills which are used to test the framework itself. They are a - \* Figures are for minified and gzipped code, computed with the closure compiler.