refactor(compiler): rename decorator directives into directive
BREAKING CHANGE: Previously, `Directive` was the abstract base class of several directives. Now, `Directive` is the former `Decorator`, and `Component` inherits from it.
This commit is contained in:
2
modules/angular2/src/render/api.js
vendored
2
modules/angular2/src/render/api.js
vendored
@ -109,7 +109,7 @@ export class ProtoViewDto {
|
||||
}
|
||||
|
||||
export class DirectiveMetadata {
|
||||
static get DECORATOR_TYPE() { return 0; }
|
||||
static get DIRECTIVE_TYPE() { return 0; }
|
||||
static get COMPONENT_TYPE() { return 1; }
|
||||
id:any;
|
||||
selector:string;
|
||||
|
Reference in New Issue
Block a user