mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
efddc9069c
Now that we can specify `directives` in either `@View` or `@Component`, we will try to parse from both. Previously, we would trash any `directives` parsed in the first annotation upon encountering the second annotation. This ensures that we maintain that list of `directives` regardless of annotation ordering.