cosmetic changes
This commit is contained in:
parent
eb4808d4c1
commit
3005d4a4aa
1 changed files with 2 additions and 8 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in a new issue