chore: remove references to the web animations polyfill (#11179)

Gets rid of the Web animations polyfill from our demo apps, as well as from the docs. The polyfill is not longer required as of Angular 6.
This commit is contained in:
Kristiyan Kostadinov
2018-05-08 18:59:01 +02:00
committed by Jeremy Elbourn
parent ce1b517f23
commit 9dadf371d5
6 changed files with 3404 additions and 3418 deletions
-4
View File
@@ -48,10 +48,6 @@ npm install --save @angular/animations
yarn add @angular/animations
```
**Note:** `@angular/animations` uses the WebAnimation API that isn't supported by all browsers yet.
If you want to support Material component animations in these browsers, you'll have to
[include a polyfill](https://github.com/web-animations/web-animations-js).
```ts
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
+3403 -3409
View File
File diff suppressed because it is too large Load Diff
+1 -2
View File
@@ -131,7 +131,6 @@
"tslint": "^5.9.1",
"tsutils": "^2.6.0",
"typescript": "2.7.x",
"uglify-js": "^2.8.14",
"web-animations-js": "^2.2.5"
"uglify-js": "^2.8.14"
}
}
-1
View File
@@ -25,7 +25,6 @@
<entry-app>Loading...</entry-app>
<script src="node_modules/core-js/client/core.js"></script>
<script src="node_modules/web-animations-js/web-animations.min.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/hammerjs/hammer.min.js"></script>
-1
View File
@@ -18,7 +18,6 @@
<e2e-app>Loading...</e2e-app>
<script src="node_modules/core-js/client/core.js"></script>
<script src="node_modules/web-animations-js/web-animations.min.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/hammerjs/hammer.min.js"></script>
-1
View File
@@ -32,7 +32,6 @@ const appVendors = [
'rxjs',
'hammerjs',
'core-js',
'web-animations-js',
'moment',
'tslib',
'@webcomponents',