fix a bug in sort
This commit is contained in:
parent
a836b285cc
commit
915e98f829
1 changed files with 3 additions and 1 deletions
|
@ -433,7 +433,9 @@ Ox.range = function() {
|
||||||
var match;
|
var match;
|
||||||
if (Ox.isString(val)) {
|
if (Ox.isString(val)) {
|
||||||
match = arr_[i].match(/\d+/g);
|
match = arr_[i].match(/\d+/g);
|
||||||
match && matches.concat(match);
|
if (match) {
|
||||||
|
matches = matches.concat(match);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// get length of longest number
|
// get length of longest number
|
||||||
|
|
Loading…
Reference in a new issue