angular-docs-cn/packages/upgrade/test/common
George Kalpakas 8a85888773 fix(upgrade): correctly destroy nested downgraded component (#22400)
Previously, when a downgraded component was destroyed in a way that did
not trigger the `$destroy` event on the element (e.g. when a parent
element was removed from the DOM by Angular, not AngularJS), the
`ComponentRef` was not destroyed and unregistered.
This commit fixes it by listening for the `$destroy` event on both the
element and the scope.

Fixes #22392

PR Close #22400
2018-02-27 18:41:02 -08:00
..
component_info_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
downgrade_component_adapter_spec.ts fix(upgrade): correctly destroy nested downgraded component (#22400) 2018-02-27 18:41:02 -08:00
downgrade_injectable_spec.ts build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
test_helpers.ts test(upgrade): run tests against multiple AngularJS versions (#22167) 2018-02-25 10:06:14 -08:00