angular-docs-cn/packages/upgrade/test/static
Georgios Kalpakas 0193be7c9b feat(upgrade): fix support for `directive.link` in upgraded components
(#17971)

Although, pre- and post-linking functions are correctly called during directive
linking, directives with `link.post` would throw an error. Interestingly, having
`link.pre` only or defining `link: fn` (which is an alias for `link.post: fn`)
would not throw.

This commit removes this check and allows directives with pre- and/or
post-linking functions to work.
2017-07-07 08:54:09 -07:00
..
integration feat(upgrade): fix support for `directive.link` in upgraded components 2017-07-07 08:54:09 -07:00
angular1_providers_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
test_helpers.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00