mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-20 01:13:29 +00:00
updated according to coding guidelines
This commit is contained in:
@@ -467,8 +467,8 @@ whitespace characters, +,- followed by Zeroes.
|
||||
*/
|
||||
- (BOOL)boolValue
|
||||
{
|
||||
aString = self.replace(/^\s+[\+,-]*0*/,"");
|
||||
if(aString.match(/[Y,y,t,T,[1-9]/) != null)
|
||||
var aString = self.replace(/^\s+[\+,-]*0*/,"");
|
||||
if (aString.match(/[Y,y,t,T,[1-9]/) != null)
|
||||
return YES;
|
||||
return NO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user