cosmetic changes

This commit is contained in:
rolux 2013-11-16 16:16:04 +01:00
parent eb4808d4c1
commit 3005d4a4aa

View file

@ -100,15 +100,9 @@ Ox.queue = function(fn, maxThreads) {
queued = [],
ret = Ox.cache(function() {
var args = Ox.toArray(arguments);
queued.push({
args: args,
key: getKey(args)
});
queued.push({args: args, key: getKey(args)});
process();
}, {
async: true,
key: getKey
}),
}, {async: true, key: getKey}),
threads = 0;
ret.cancel = function() {
processing = [];