Force.com-JavaScript-REST-Toolkit
Force.com-JavaScript-REST-Toolkit copied to clipboard
Return promises from RemoteTK for compatibility with ForceTK
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 $.