angular-docs-cn/packages/common
Lars Gyrup Brink Nielsen 7edb026619 fix(common): prevent duplicate URL change notifications (#37459)
Prevent duplicate notifications from being emitted when multiple URL change listeners are registered using SpyLocation#onUrlChange.

Use `@internal` annotation for the `_urlChangeSubscription` properties instead of the `private` access modifier. Otherwise, we get in trouble because of  `SpyLocation implements Location`.

PR Close #37459
2020-06-09 08:26:34 -07:00
..
http build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
locales build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
src fix(common): prevent duplicate URL change notifications (#37459) 2020-06-09 08:26:34 -07:00
test test(common): prefer TestBed.inject over inject (#37459) 2020-06-09 08:26:34 -07:00
testing fix(common): prevent duplicate URL change notifications (#37459) 2020-06-09 08:26:34 -07:00
upgrade build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
BUILD.bazel build: provide full paths to `ts_api_guardian_test_npm_package` and `ts_api_guardian_test` (#36034) 2020-03-12 09:49:00 -07:00
PACKAGE.md docs: add api doc to sub-packages (#33801) 2019-11-20 14:48:50 -08:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json build: remove wombot proxy registry from package.jsons for release (#37378) 2020-06-01 12:41:19 -04:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00