mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-16 21:41:18 +00:00
updated according to coding guidelines
This commit is contained in:
1 parent
d030ef15b5
commit
ffa91e0f59
1 file changed
+2
-2
@@ -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