fix Ox.sort, was broken in changeset:oxjs,2363
This commit is contained in:
parent
17bb6fb036
commit
7230606a6d
1 changed files with 0 additions and 1 deletions
|
@ -634,7 +634,6 @@ Ox.range = function() {
|
||||||
['The 9', 'The 10', 'An A', 'A "B"']
|
['The 9', 'The 10', 'An A', 'A "B"']
|
||||||
@*/
|
@*/
|
||||||
Ox.sort = function(array, map) {
|
Ox.sort = function(array, map) {
|
||||||
var values = getSortValues(map ? array.map(map) : array);
|
|
||||||
return array.sort(function(a, b) {
|
return array.sort(function(a, b) {
|
||||||
a = getSortValue(map ? map(a) : a);
|
a = getSortValue(map ? map(a) : a);
|
||||||
b = getSortValue(map ? map(b) : b);
|
b = getSortValue(map ? map(b) : b);
|
||||||
|
|
Loading…
Reference in a new issue