mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 02:40:59 +00:00
Re #1560. Remove obsolete function.
This commit is contained in:
1 parent
e232b18b94
commit
f538cbc51d
1 file changed
-13
@@ -428,19 +428,6 @@ var sortArrayUsingFunction = function(array, aFunction, aContext)
|
||||
}
|
||||
}
|
||||
|
||||
// sort using sort descriptors
|
||||
var compareObjectsUsingDescriptors = function(lhs, rhs, descriptors)
|
||||
{
|
||||
var result = CPOrderedSame,
|
||||
i = 0,
|
||||
n = [descriptors count];
|
||||
|
||||
while (i < n && result === CPOrderedSame)
|
||||
result = [descriptors[i++] compareObject:lhs withObject:rhs];
|
||||
|
||||
return result;
|
||||
};
|
||||
|
||||
// Observe that the sort descriptors has the reversed order by the caller
|
||||
var sortArrayUsingJSDescriptors = function(a, d)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user