diff --git a/Foundation/CPKeyValueCoding.j b/Foundation/CPKeyValueCoding.j index 136b2bb90..07ea71c87 100644 --- a/Foundation/CPKeyValueCoding.j +++ b/Foundation/CPKeyValueCoding.j @@ -94,9 +94,6 @@ var _modifierForKey = function(theClass, aKey) [CPObjectModifiersForClass setObject:modifiers forKey:UID]; } - if (selector) - return selector === Null ? nil : selector; - var capitalizedKey = aKey.charAt(0).toUpperCase() + aKey.substr(1) + ':'; if ([self instancesRespondToSelector:selector = CPSelectorFromString("set" + capitalizedKey)] ||