Update Angular template content to match @angular/cli@1.7.0

This commit is contained in:
Steve Sanderson 2018-02-21 11:53:55 +00:00
parent 74c5c05a2e
commit 7debea272c
4 changed files with 949 additions and 2915 deletions

View File

@ -1,6 +1,6 @@
# AngularSpa
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.6.8.
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.7.0.
## Development server

View File

@ -31,7 +31,7 @@
"zone.js": "^0.8.19"
},
"devDependencies": {
"@angular/cli": "1.6.8",
"@angular/cli": "~1.7.0",
"@angular/compiler-cli": "^5.2.0",
"@angular/language-service": "^5.2.0",
"@types/jasmine": "~2.8.3",

View File

@ -52,7 +52,20 @@ import 'core-js/es7/reflect';
**/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/**
* By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags
*/
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
/*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge
*/
// (window as any).__Zone_enable_cross_context_check = true;
/***************************************************************************************************
* Zone JS is required by default for Angular itself.