mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
ce1b517f23
commit
9dadf371d5
@@ -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';
|
||||
|
||||
|
||||
Generated
+3403
-3409
File diff suppressed because it is too large
Load Diff
+1
-2
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -32,7 +32,6 @@ const appVendors = [
|
||||
'rxjs',
|
||||
'hammerjs',
|
||||
'core-js',
|
||||
'web-animations-js',
|
||||
'moment',
|
||||
'tslib',
|
||||
'@webcomponents',
|
||||
|
||||
Reference in New Issue
Block a user