replace @Parent w/ @Ancestor

This commit is contained in:
Adam Bradley
2015-07-30 21:15:22 -05:00
parent b89f383ecc
commit 8794182e6c
21 changed files with 35701 additions and 30919 deletions

View File

@ -1,4 +1,4 @@
import {Directive, View, Parent, Ancestor, Optional, ElementRef, Attribute, forwardRef} from 'angular2/angular2';
import {Directive, View, Ancestor, Optional, ElementRef, Attribute, forwardRef} from 'angular2/angular2';
import {IonicDirective} from '../../config/annotations';
import {IonicConfig} from '../../config/config';
@ -51,7 +51,7 @@ export class Input extends IonInputItem {
})
export class TextInput extends IonInput {
constructor(
@Optional() @Parent() container: Input,
@Optional() @Ancestor() container: Input,
@Optional() @Ancestor() scrollView: Content,
@Attribute('type') type: string,
elementRef: ElementRef,