mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-28 14:37:04 +00:00
New: use @ref and @deref instead of Ref.h throughout Cappuccino.
This commit is contained in:
@@ -618,7 +618,7 @@ var concat = Array.prototype.concat,
|
||||
var index = 0,
|
||||
count = [self count],
|
||||
shouldStop = NO,
|
||||
shouldStopRef = AT_REF(shouldStop);
|
||||
shouldStopRef = @ref(shouldStop);
|
||||
|
||||
for (; index < count; ++index)
|
||||
{
|
||||
@@ -648,7 +648,7 @@ var concat = Array.prototype.concat,
|
||||
|
||||
for (; index !== stop; index += increment)
|
||||
{
|
||||
aFunction([self objectAtIndex:index], index, AT_REF(shouldStop));
|
||||
aFunction([self objectAtIndex:index], index, @ref(shouldStop));
|
||||
|
||||
if (shouldStop)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user