fix a bug in sort

This commit is contained in:
rlx 2012-05-24 07:55:18 +00:00
parent a836b285cc
commit 915e98f829

View file

@ -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