摘要:
短小强悍的JavaScript异步调用库var queue = function(funcs, scope) { (function next() { if(funcs.length > 0) { funcs.shift().apply(scope || {}, [next].concat(Array.prototype.slice.call(arguments, 0))) } })()} var obj = { value: null}queue([ function(callback) { var ... 阅读全文
posted @ 2014-02-25 16:17
jzm17173
阅读(114)
评论(0)
推荐(0)
浙公网安备 33010602011771号