mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
Fix for CPArray and _CPJavaScriptArray -copy
This commit is contained in:
1 parent
03aaa89a61
commit
a000687a42
2 files changed
+7
-2
No files matched your search
@@ -756,7 +756,7 @@ CPBinarySearchingInsertionIndex = 1 << 10;
|
||||
*/
|
||||
- (id)copy
|
||||
{
|
||||
return slice(0);
|
||||
return [[[self class] arrayWithArray:self];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in new issue
Block a user