cosmetic changes

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

View file

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