in cached getSortValue function, use a cheaper args to key function
This commit is contained in:
parent
bed08786a1
commit
db9c55ff5e
1 changed files with 3 additions and 1 deletions
|
|
@ -612,7 +612,9 @@ Ox.range = function() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return sortValue;
|
return sortValue;
|
||||||
});
|
}, {key: function(args) {
|
||||||
|
return args[0];
|
||||||
|
}});
|
||||||
|
|
||||||
/*@
|
/*@
|
||||||
Ox.sort <f> Sorts an array, handling articles and digits, ignoring capitalization
|
Ox.sort <f> Sorts an array, handling articles and digits, ignoring capitalization
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue