When caching sort values, make the type of the value part of the cache key (so that 9 and '9' don't collide)

This commit is contained in:
rolux 2012-10-26 18:09:37 +02:00
parent 2223fcfd2b
commit 23bd717a8a

View file

@ -625,7 +625,7 @@ Ox.range = function() {
}
return sortValue;
}, {key: function(args) {
return args[0];
return Ox.typeOf(args[0]) + ' ' + args[0];
}});
/*@