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:
Tobias Bosch
2015-04-30 13:38:40 -07:00
parent c671706518
commit f75a50c1dd
71 changed files with 384 additions and 438 deletions

View File

@ -1,6 +1,6 @@
import {Decorator} from 'angular2/angular2';
import {Directive} from 'angular2/angular2';
@Decorator({
@Directive({
selector: '[md-theme]'
})
export class MdTheme {