@@ -92,12 +92,12 @@ export function main() {
9292
9393 var q = view . debugElement . children [ 0 ] . getLocal ( 'q' ) ;
9494
95- expect ( q . log ) . toEqual ( [ [ "setter" , "foo" ] , [ "init" , "foo" ] , [ "check" , "foo" ] ] ) ;
95+ expect ( q . logs ) . toEqual ( [ [ "setter" , "foo" ] , [ "init" , "foo" ] , [ "check" , "foo" ] ] ) ;
9696
9797 view . debugElement . componentInstance . shouldShow = false ;
9898 view . detectChanges ( ) ;
9999
100- expect ( q . log ) . toEqual ( [
100+ expect ( q . logs ) . toEqual ( [
101101 [ "setter" , "foo" ] ,
102102 [ "init" , "foo" ] ,
103103 [ "check" , "foo" ] ,
@@ -119,12 +119,12 @@ export function main() {
119119 view . detectChanges ( ) ;
120120 var q = view . debugElement . children [ 0 ] . getLocal ( 'q' ) ;
121121
122- expect ( q . log ) . toEqual ( [ [ "setter" , "foo" ] , [ "init" , "foo" ] , [ "check" , "foo" ] ] ) ;
122+ expect ( q . logs ) . toEqual ( [ [ "setter" , "foo" ] , [ "init" , "foo" ] , [ "check" , "foo" ] ] ) ;
123123
124124 q . shouldShow = false ;
125125 view . detectChanges ( ) ;
126126
127- expect ( q . log ) . toEqual ( [
127+ expect ( q . logs ) . toEqual ( [
128128 [ "setter" , "foo" ] ,
129129 [ "init" , "foo" ] ,
130130 [ "check" , "foo" ] ,
@@ -148,21 +148,21 @@ export function main() {
148148 view . detectChanges ( ) ;
149149 var q = view . debugElement . children [ 0 ] . getLocal ( 'q' ) ;
150150
151- expect ( q . log ) . toEqual ( [ [ "setter" , "foo" ] , [ "init" , "foo" ] , [ "check" , "foo" ] ] ) ;
151+ expect ( q . logs ) . toEqual ( [ [ "setter" , "foo" ] , [ "init" , "foo" ] , [ "check" , "foo" ] ] ) ;
152152
153153 q . shouldShow = false ;
154154 q . shouldShow2 = true ;
155- q . log = [ ] ;
155+ q . logs = [ ] ;
156156 view . detectChanges ( ) ;
157157
158- expect ( q . log ) . toEqual ( [ [ "setter" , "bar" ] , [ "check" , "bar" ] ] ) ;
158+ expect ( q . logs ) . toEqual ( [ [ "setter" , "bar" ] , [ "check" , "bar" ] ] ) ;
159159
160160 q . shouldShow = false ;
161161 q . shouldShow2 = false ;
162- q . log = [ ] ;
162+ q . logs = [ ] ;
163163 view . detectChanges ( ) ;
164164
165- expect ( q . log ) . toEqual ( [ [ "setter" , null ] , [ "check" , null ] ] ) ;
165+ expect ( q . logs ) . toEqual ( [ [ "setter" , null ] , [ "check" , null ] ] ) ;
166166
167167 async . done ( ) ;
168168 } ) ;
@@ -810,16 +810,16 @@ class NeedsContentChild implements AfterContentInit, AfterContentChecked {
810810 @ContentChild ( TextDirective )
811811 set child ( value ) {
812812 this . _child = value ;
813- this . log . push ( [ 'setter' , isPresent ( value ) ? value . text : null ] ) ;
813+ this . logs . push ( [ 'setter' , isPresent ( value ) ? value . text : null ] ) ;
814814 }
815815
816816 get child ( ) { return this . _child ; }
817- log = [ ] ;
817+ logs = [ ] ;
818818
819- ngAfterContentInit ( ) { this . log . push ( [ "init" , isPresent ( this . child ) ? this . child . text : null ] ) ; }
819+ ngAfterContentInit ( ) { this . logs . push ( [ "init" , isPresent ( this . child ) ? this . child . text : null ] ) ; }
820820
821821 ngAfterContentChecked ( ) {
822- this . log . push ( [ "check" , isPresent ( this . child ) ? this . child . text : null ] ) ;
822+ this . logs . push ( [ "check" , isPresent ( this . child ) ? this . child . text : null ] ) ;
823823 }
824824}
825825
@@ -839,15 +839,15 @@ class NeedsViewChild implements AfterViewInit,
839839 @ViewChild ( TextDirective )
840840 set child ( value ) {
841841 this . _child = value ;
842- this . log . push ( [ 'setter' , isPresent ( value ) ? value . text : null ] ) ;
842+ this . logs . push ( [ 'setter' , isPresent ( value ) ? value . text : null ] ) ;
843843 }
844844
845845 get child ( ) { return this . _child ; }
846- log = [ ] ;
846+ logs = [ ] ;
847847
848- ngAfterViewInit ( ) { this . log . push ( [ "init" , isPresent ( this . child ) ? this . child . text : null ] ) ; }
848+ ngAfterViewInit ( ) { this . logs . push ( [ "init" , isPresent ( this . child ) ? this . child . text : null ] ) ; }
849849
850- ngAfterViewChecked ( ) { this . log . push ( [ "check" , isPresent ( this . child ) ? this . child . text : null ] ) ; }
850+ ngAfterViewChecked ( ) { this . logs . push ( [ "check" , isPresent ( this . child ) ? this . child . text : null ] ) ; }
851851}
852852
853853@Directive ( { selector : '[dir]' } )
0 commit comments