fix: rename FORWARD_REF to forwardRef in the Angular code base.

Now that ts2dart understands forwardRef, there's
no need to maintain the old syntax.
This commit is contained in:
Martin Probst
2015-06-11 18:49:07 -07:00
parent 13466604f9
commit c4ecbf0a7f
9 changed files with 17 additions and 19 deletions
@@ -8,7 +8,7 @@ import {
ComponentRef,
DomRenderer
} from 'angular2/angular2';
import {bind, Injector, Injectable, FORWARD_REF} from 'angular2/di';
import {bind, Injector, Injectable, forwardRef} from 'angular2/di';
import {ObservableWrapper, Promise, PromiseWrapper} from 'angular2/src/facade/async';
import {isPresent, Type} from 'angular2/src/facade/lang';
@@ -213,7 +213,7 @@ export class MdDialogConfig {
})
@View({
templateUrl: 'angular2_material/src/components/dialog/dialog.html',
directives: [FORWARD_REF(() => MdDialogContent)]
directives: [forwardRef(() => MdDialogContent)]
})
class MdDialogContainer {
// Ref to the dialog content. Used by the DynamicComponentLoader to load the dialog content.