mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
More capp_linting.
Reviewed by me.
This commit is contained in:
1 parent
3cda75986b
commit
d69f46f7ee
32 files changed
+305
-287
No files matched your search
@@ -83,9 +83,9 @@
|
||||
- (void)testRemoveObjectsAtIndexes
|
||||
{
|
||||
var array = [CPMutableArray arrayWithObjects:@"one", @"two", @"three", @"four", nil],
|
||||
indexes = [CPMutableIndexSet indexSetWithIndex: 2];
|
||||
indexes = [CPMutableIndexSet indexSetWithIndex: 2];
|
||||
|
||||
[array removeObjectsAtIndexes: indexes];
|
||||
[array removeObjectsAtIndexes:indexes];
|
||||
|
||||
[self assert:array equals:[@"one", @"two", @"four", nil]];
|
||||
}
|
||||
@@ -425,7 +425,7 @@
|
||||
- (CPArray)arrayByReversingArray
|
||||
{
|
||||
var a = [];
|
||||
for (i = length - 1; i>0; --i)
|
||||
for (i = length - 1; i > 0; --i)
|
||||
a.push(self[i]);
|
||||
|
||||
return a;
|
||||
|
||||
Reference in new issue
Block a user