angular-cn/packages/router/test
Jason Aden 66f0ab0371 fix(router): adjust ChildActivation events to only fire when the child is actually changing (#19043)
* The problem was with the `fireChildActivationStart` function. It was taking a `path` param, which was an
array of `ActivatedRouteSnapshot`s. The function was being fired for each piece of the route that was being
activated. This resulted in far too many `ChildActivationStart` events being fired, and being fired on routes
that weren't actually getting activated. This change fires the event only for those routes that are actually
being activated.

fixes #18942

PR Close #19043
2017-09-05 15:46:29 -05:00
..
utils refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
apply_redirects.spec.ts fix(router): fix redirect to a URL with a param having multiple values (#16376) 2017-05-08 17:50:33 -05:00
bootstrap.spec.ts fix(router): adjust ChildActivation events to only fire when the child is actually changing (#19043) 2017-09-05 15:46:29 -05:00
config.spec.ts refactor(router): compile router cleanly with TypeScript 2.4 (#18465) 2017-08-02 17:32:02 -07:00
create_router_state.spec.ts refactor(router): cleanup, simplification 2017-05-19 11:55:15 -07:00
create_url_tree.spec.ts fix(router): Update types for TypeScript nullability support 2017-04-18 12:07:33 -07:00
helpers.ts feat(router): add events tracking activation of individual routes 2017-08-01 10:44:00 -07:00
integration.spec.ts fix(router): adjust ChildActivation events to only fire when the child is actually changing (#19043) 2017-09-05 15:46:29 -05:00
recognize.spec.ts fix(router): terminal route in custom matcher 2017-07-18 10:25:18 -07:00
regression_integration.spec.ts fix(router): prevent `RouterLinkActive` from causing an infinite CD loop 2017-04-17 10:15:44 -07:00
router.spec.ts fix(router): adjust ChildActivation events to only fire when the child is actually changing (#19043) 2017-09-05 15:46:29 -05:00
router_preloader.spec.ts refactor: use view engine also for `NgModuleFactory`s (#16658) 2017-05-11 10:26:02 -07:00
router_state.spec.ts fix(router): Update types for TypeScript nullability support 2017-04-18 12:07:33 -07:00
shared.spec.ts feat(router): add `ParamMap.keys` to get a list of parameters 2017-03-20 09:19:32 -07:00
spy_ng_module_factory_loader.spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
url_serializer.spec.ts fix(router): encode URLs the same way AngularJS did (closer to spec) (#17890) 2017-07-06 17:10:25 -07:00
url_tree.spec.ts fix(router): fix query param parsing 2017-04-11 11:15:11 -07:00