File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -207,19 +207,19 @@ function $RootScopeProvider() {
207
207
// but cache it to allow the VM to optimize lookups.
208
208
if ( ! this . $$ChildScope ) {
209
209
this . $$ChildScope = function ChildScope ( ) {
210
- this . $$watchers = this . $$nextSibling =
211
- this . $$childHead = this . $$childTail = null ;
212
- this . $$listeners = { } ;
213
- this . $$listenerCount = { } ;
214
- this . $id = nextUid ( ) ;
215
- this . $$ChildScope = null ;
210
+ this [ ' $$watchers' ] = this [ ' $$nextSibling' ] =
211
+ this [ ' $$childHead' ] = this [ ' $$childTail' ] = null ;
212
+ this [ ' $$listeners' ] = { } ;
213
+ this [ ' $$listenerCount' ] = { } ;
214
+ this [ ' $id' ] = nextUid ( ) ;
215
+ this [ ' $$ChildScope' ] = null ;
216
216
} ;
217
217
this . $$ChildScope . prototype = this ;
218
218
}
219
219
child = new this . $$ChildScope ( ) ;
220
220
}
221
- child . $parent = parent ;
222
- child . $$prevSibling = parent . $$childTail ;
221
+ child [ ' $parent' ] = parent ;
222
+ child [ ' $$prevSibling' ] = parent . $$childTail ;
223
223
if ( parent . $$childHead ) {
224
224
parent . $$childTail . $$nextSibling = child ;
225
225
parent . $$childTail = child ;
You can’t perform that action at this time.
0 commit comments