Skip to content

Commit 5d61903

Browse files
dzonatanfilipesilva
authored andcommitted
docs(@angular/cli): correct web animations polyfill description
1 parent 9119416 commit 5d61903

File tree

1 file changed

+4
-5
lines changed
  • packages/@angular/cli/blueprints/ng/files/__path__

1 file changed

+4
-5
lines changed

packages/@angular/cli/blueprints/ng/files/__path__/polyfills.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,15 @@
3737
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
3838
// import 'classlist.js'; // Run `npm install --save classlist.js`.
3939

40-
/** IE10 and IE11 requires the following to support `@angular/animation`. */
41-
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
42-
43-
4440
/** Evergreen browsers require these. **/
4541
import 'core-js/es6/reflect';
4642
import 'core-js/es7/reflect';
4743

4844

49-
/** ALL Firefox browsers require the following to support `@angular/animation`. **/
45+
/**
46+
* Required to support Web Animations `@angular/animation`.
47+
* Needed for: All but Chrome, Firefox and Opera. http://caniuse.com/#feat=web-animation
48+
**/
5049
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
5150

5251

0 commit comments

Comments
 (0)