When would I use JQuery.Callbacks?

后端 未结 6 1445
忘掉有多难
忘掉有多难 2021-01-30 01:34

I was looking through new stuff added to jQuery 1.7 and I saw they now have jQuery.Callbacks() http://api.jquery.com/jQuery.Callbacks/.

The documentation shows you how

6条回答
  •  广开言路
    2021-01-30 02:05

    I'm working on an app with a lot of business logic and at least 11 external services. It really helps keep things straight if you can write your own flow control classes and behaviors using something like Callbacks instead of trying to force your will on the Deferred implementation.

提交回复
热议问题