Skip to content

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

angular.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -11984,21 +11984,21 @@ function $RootScopeProvider(){
1198411984
// Only create a child scope class if somebody asks for one,
1198511985
// but cache it to allow the VM to optimize lookups.
1198611986
if (!this.$$childScopeClass) {
11987-
this.$$childScopeClass = function() {
11988-
this.$$watchers = this.$$nextSibling =
11989-
this.$$childHead = this.$$childTail = null;
11990-
this.$$listeners = {};
11991-
this.$$listenerCount = {};
11992-
this.$id = nextUid();
11993-
this.$$childScopeClass = null;
11987+
this['$$childScopeClass'] = function() {
11988+
this['$$watchers'] = this['$$nextSibling'] =
11989+
this['$$childHead'] = this['$$childTail'] = null;
11990+
this['$$listeners'] = {};
11991+
this['$$listenerCount'] = {};
11992+
this['$id'] = nextUid();
11993+
this['$$childScopeClass'] = null;
1199411994
};
1199511995
this.$$childScopeClass.prototype = this;
1199611996
}
1199711997
child = new this.$$childScopeClass();
1199811998
}
1199911999
child['this'] = child;
12000-
child.$parent = this;
12001-
child.$$prevSibling = this.$$childTail;
12000+
child['$parent'] = this;
12001+
child['$$prevSibling'] = this.$$childTail;
1200212002
if (this.$$childHead) {
1200312003
this.$$childTail.$$nextSibling = child;
1200412004
this.$$childTail = child;

0 commit comments

Comments
 (0)