angular-docs-cn/packages
Chuck Jazdzewski 24cf8b3269 fix(core): ensure init lifecycle events are called (#20258)
Throwing an exception in a lifecycle event will delay but not
prevent an Init method, such as `ngOnInit`, `ngAfterContentInit`,
or `ngAfterViewInit`, from being called. Also, calling `detectChanges()`
in a way that causes duplicate change detection (such as a
child component causing a parent to call `detectChanges()` on its
own `ChangeDetectorRef`, will no longer prevent change `ngOnInit`,
`ngAfterContentInit` and `ngAfterViewInit` from being called.

With this change lifecycle methods are still not guarenteed to be
called but the Init methods will be called if at least one change
detection pass on its view is completed.

Fixes: #17035

PR Close #20258
2017-11-10 13:47:39 -08:00
..
animations refactor(animations): uses a loop instead Array.map() which creates and (#19910) 2017-11-10 13:47:02 -08:00
bazel fix(bazel): don't console.error from the compile helper (#19879) 2017-10-23 16:56:57 -04:00
benchpress refactor: allow compilation with TypeScript 2.5 (#19966) 2017-10-31 00:26:43 -04:00
common docs(common): update default display value for CurrencyPipe (#20246) 2017-11-10 11:51:17 -08:00
compiler fix(compiler): recognize @NgModule with a redundant @Injectable (#20320) 2017-11-10 11:51:52 -08:00
compiler-cli fix(compiler): recognize @NgModule with a redundant @Injectable (#20320) 2017-11-10 11:51:52 -08:00
core fix(core): ensure init lifecycle events are called (#20258) 2017-11-10 13:47:39 -08:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
examples docs(aio): fix -mm- to -MM- for month in DatePipe (#20315) 2017-11-10 10:58:45 -08:00
forms docs: fix link texts 2017-11-01 15:44:59 -04:00
http fix: add missing globals from each rollup configuration (#20028) 2017-10-30 23:09:17 -04:00
language-service fix(language-service): pass compilerOptions.paths to ReflectorHost (#20222) 2017-11-10 11:51:11 -08:00
platform-browser refactor(core): misc changes and integrate review feedback on #19996 2017-11-06 14:13:02 -08:00
platform-browser-dynamic refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
platform-server fix: add missing globals from each rollup configuration (#20028) 2017-10-30 23:09:17 -04:00
platform-webworker refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
platform-webworker-dynamic refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
router docs: fix link texts 2017-11-01 15:44:59 -04:00
service-worker refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
upgrade revert: feat(core): add source to `StaticInjectorError` message (#19482) (#20171) 2017-11-03 14:51:06 -07:00
BUILD.bazel build: update to latest @bazel/typescript (#19277) 2017-09-25 12:40:22 -07:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00
goog.d.ts fix(compiler): add typings for `COMPILED`. 2017-09-29 09:26:38 -07:00
license-banner.txt refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json refactor: update angular to support TypeScript 2.4 2017-09-12 10:31:30 -07:00
tsconfig-metadata.json refactor(compiler): bump metadata version to 4 (#19338) 2017-09-26 13:31:59 -07:00
tsconfig.json build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
types.d.ts fix: don’t use the global `ng` at all with closure enhanced optimizations 2017-09-27 10:09:56 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT