mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-25 03:40:43 +00:00
removed unnecessary if-statement (because it never gets executed)
This commit is contained in:
@@ -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)] ||
|
||||
|
||||
Reference in New Issue
Block a user