开发者

JQuery equivalent of Node.js Step / Async modules

Do you know any JQuery plugin which is equivalent of Node.js Step or Async modules? Here are descriptions:

https://github.com/creationix/step/blob/maste开发者_JAVA百科r/README.markdown https://github.com/caolan/async/blob/master/README.md


$.Deferred

jQuery has deferred execution in it's API. That's simply what step and async do. Use this.


Caolan McMahon has written async library which can be used both in the browser and Node. This way you can share the same code if you want to switch from node <--> browser.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜