fixed bug in "mutableArrayValueForKeyPath:" in CPArray+KVO.j which was not calling itself recursively

This commit is contained in:
Daniel Stolzenberg committed 2010-10-26 12:50:33 +02:00
1 parent 99e4a4fb4f
commit 9c7b3475d8
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@
var firstPart = aKeyPath.substring(0, dotIndex),
lastPart = aKeyPath.substring(dotIndex + 1);
return [[self valueForKeyPath:firstPart] valueForKeyPath:lastPart];
return [[self valueForKeyPath:firstPart] mutableArrayValueForKeyPath:lastPart];
}
@end