Accidental globals in CPNotificationCenter and Runtime.js

This commit is contained in:
cacaodev authored and Ross Boucher committed 2010-10-18 10:15:40 -07:00
1 parent 00e638f406
commit 678563a970
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -248,7 +248,7 @@ var _CPNotificationCenterPostNotification = function(/* CPNotificationCenter */
else
{
var key = [anObject UID],
observers = [_objectObservers objectForKey:key];
observers = [_objectObservers objectForKey:key],
count = observers ? observers.length : 0;
while (count--)
+1 -1
View File
@@ -440,7 +440,7 @@ class_createInstance = function(/*Class*/ aClass)
while (theClass)
{
var ivars = theClass.ivars;
var ivars = theClass.ivars,
count = ivars.length;
while (count--)