mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
2dee505582
Before this change `ɵɵdefineDirective` called `ɵɵdefineComponent` under the hood. This is problematic for the consistent component id generation as it could result in hash collisions for certain directives. Directives however do not require an id. This changes moves common definition generation logic into a separate function that is re-used in `ɵɵdefineDirective` and `ɵɵdefineComponent`. PR Close #49350