@@ -126,9 +126,8 @@ export class DebugElement {
126126
127127 var views = view . viewContainers [ view . elementOffset + i ] ;
128128 if ( isPresent ( views ) ) {
129- ListWrapper . forEach ( views . views , ( nextView ) => {
130- els = els . concat ( this . _getChildElements ( nextView , null ) ) ;
131- } ) ;
129+ views . views . forEach (
130+ ( nextView ) => { els = els . concat ( this . _getChildElements ( nextView , null ) ) ; } ) ;
132131 }
133132 }
134133 }
@@ -155,17 +154,15 @@ export class Scope {
155154 var scope = [ ] ;
156155 scope . push ( debugElement ) ;
157156
158- ListWrapper . forEach ( debugElement . children ,
159- ( child ) => { scope = scope . concat ( Scope . all ( child ) ) ; } ) ;
157+ debugElement . children . forEach ( child => scope = scope . concat ( Scope . all ( child ) ) ) ;
160158
161- ListWrapper . forEach ( debugElement . componentViewChildren ,
162- ( child ) => { scope = scope . concat ( Scope . all ( child ) ) ; } ) ;
159+ debugElement . componentViewChildren . forEach ( child => scope = scope . concat ( Scope . all ( child ) ) ) ;
163160
164161 return scope ;
165162 }
166163 static light ( debugElement : DebugElement ) : DebugElement [ ] {
167164 var scope = [ ] ;
168- ListWrapper . forEach ( debugElement . children , ( child ) => {
165+ debugElement . children . forEach ( child => {
169166 scope . push ( child ) ;
170167 scope = scope . concat ( Scope . light ( child ) ) ;
171168 } ) ;
@@ -175,7 +172,7 @@ export class Scope {
175172 static view ( debugElement : DebugElement ) : DebugElement [ ] {
176173 var scope = [ ] ;
177174
178- ListWrapper . forEach ( debugElement . componentViewChildren , ( child ) => {
175+ debugElement . componentViewChildren . forEach ( child => {
179176 scope . push ( child ) ;
180177 scope = scope . concat ( Scope . light ( child ) ) ;
181178 } ) ;
0 commit comments