mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-19 04:59:22 +00:00
Fixing a bug caused by the function inline.
This commit is contained in:
1 parent
ae5d56471f
commit
d4d831b9ac
1 file changed
+1
-1
@@ -135,7 +135,7 @@ var CPStringRegexSpecialCharacters = [
|
||||
*/
|
||||
- (id)initWithString:(CPString)aString
|
||||
{
|
||||
if (aClass === CPString)
|
||||
if ([self class] === CPString)
|
||||
return String(aString);
|
||||
|
||||
var result = new String(aString);
|
||||
|
||||
Reference in new issue
Block a user