BoolNordicAB / sharepoint-utilities

Makes client side SharePoint a bit nicer to work with (that's the plan, at least)
https://boolnordicab.github.io/sharepoint-utilities/doc/index.html
MIT License
14 stars 3 forks source link

Use `Promise` instead of `jQuery.Deferred` #3

Closed roobie closed 9 years ago

roobie commented 9 years ago

I think we should use the polyfillable Promise API instead of the more proprietary jQuery Deferred API. Until the Promise object is ubiquitous we can use e.g. Bluebird for developement purposes and suggest it to our users as a polyfill.

joladev commented 9 years ago

I want to avoid requiring our users to handle dependencies themselves, maybe we should do a dist file with eg Bluebird built in.

roobie commented 9 years ago

Yes, I concur. Let's bundle https://github.com/jakearchibald/es6-promise