angular/modules
Peter Bacon Darwin d6382bfa0b fix(upgrade): detect async downgrade component changes (#13812)
This commit effectively reverts 7e0f02f96e
as it was an invalid fix for #6385, that created a more significant
bug, which was that changes were not always being detected.

Angular 1 digests should be run inside the ngZone to ensure
that async changes are detected.

We don't know how to fix #6385 without breaking change detection
at this stage. That issue is triggered by async operations, such as
`setTimeout`, being triggered inside scope watcher functions.

One could argue that watcher functions should be pure and not do
work such as triggering async operations. It is possible that the
original use case could be supported by moving the debounce
logic into the watch listener function, which is only called if the
watched value actually changes.

Closes #10660, #12318, #12034

PR Close #13812
2017-01-17 15:34:53 -06:00
..
@angular fix(upgrade): detect async downgrade component changes (#13812) 2017-01-17 15:34:53 -06:00
angular1_router refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
benchmarks refactor(compiler): generate less code for bindings to DOM elements 2017-01-03 13:05:05 -08:00
benchmarks_external refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
e2e_util feat(benchmarks): add detectChanges test for ng2 tree benchmark 2017-01-03 13:05:05 -08:00
payload_tests/hello_world/ts style: add missing copyright headers 2016-10-31 14:25:53 -07:00
playground chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
rollup-test feat: update RxJS peer dependency to 5.0.0-rc.4 2016-11-29 16:27:33 -08:00
empty.ts chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
es6-subset.d.ts chore(typings): restrict Angular to es5+collections+promise 2016-06-27 13:58:59 -07:00
system.d.ts fix(build): Remove duplicate System declarations (#10713) 2016-08-11 19:37:01 -07:00
tsconfig.json feat(language-service): add services to support editors (#12987) 2016-11-22 09:10:23 -08:00
types.d.ts build(examples): upgrade to protractor 4.0.9 (#12803) 2016-11-10 18:13:11 -08:00