angular-docs-cn/packages/common/testing
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
..
src fix(common): prevent duplicate URL change notifications (#37459) 2020-06-09 08:26:34 -07:00
BUILD.bazel
PACKAGE.md
index.ts
package.json
public_api.ts