Skip to content

Commit b91f341

Browse files
author
k-shunji
committed
1 parent 07d6242 commit b91f341

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/ng/rootScope.js

+8-8
Original file line numberDiff line numberDiff line change
@@ -200,20 +200,20 @@ function $RootScopeProvider(){
200200
// but cache it to allow the VM to optimize lookups.
201201
if (!this.$$childScopeClass) {
202202
this.$$childScopeClass = function() {
203-
this.$$watchers = this.$$nextSibling =
204-
this.$$childHead = this.$$childTail = null;
205-
this.$$listeners = {};
206-
this.$$listenerCount = {};
207-
this.$id = nextUid();
208-
this.$$childScopeClass = null;
203+
this['$$watchers'] = this['$$nextSibling'] =
204+
this['$$childHead'] = this['$$childTail'] = null;
205+
this['$$listeners'] = {};
206+
this['$$listenerCount'] = {};
207+
this['$id'] = nextUid();
208+
this['$$childScopeClass'] = null;
209209
};
210210
this.$$childScopeClass.prototype = this;
211211
}
212212
child = new this.$$childScopeClass();
213213
}
214214
child['this'] = child;
215-
child.$parent = this;
216-
child.$$prevSibling = this.$$childTail;
215+
child['$parent'] = this;
216+
child['$$prevSibling'] = this.$$childTail;
217217
if (this.$$childHead) {
218218
this.$$childTail.$$nextSibling = child;
219219
this.$$childTail = child;

0 commit comments

Comments
 (0)