Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

Commented Feature: JQuery Deferred compatibility [10106]

$
0
0
From:http://spservices.codeplex.com/discussions/393614

Would it be possible to alter SPServices so that it returns an object that can be used with JQuery's Deferred (http://api.jquery.com/category/deferred-object/)? Right now it's harder than it needs
to be to make several asynchronous calls with SPServices.
Comments: Implemented in 2013.01ALPHA3. The core SPServices function now returns a deferred object as well as execuring completefunc (if provided) for backward compatibility. As a further test of the capability, SPArrangeChoices also uses the returned promise as a test to improve performance and user expeience. I'll be implementing more use of promises inside the library as it makes sense before finalizing this release.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>