updated according to coding guidelines

This commit is contained in:
vijaykiran
2008-09-15 20:35:26 +02:00
parent d030ef15b5
commit ffa91e0f59
+2 -2
View File
@@ -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;
}