Force.com-JavaScript-REST-Toolkit icon indicating copy to clipboard operation
Force.com-JavaScript-REST-Toolkit copied to clipboard

Return promises from RemoteTK for compatibility with ForceTK

Open cwarden opened this issue 11 years ago • 0 comments

Return a promise from each RemoteTK function for compatibility with ForceTK. Passing a callback is now optional as callbacks can be attached to the promise returned instead.

Uses jQuery's Deferred promise implementation so jQuery must be loaded and available as $.

cwarden avatar Apr 12 '13 22:04 cwarden