sprinkles icon indicating copy to clipboard operation
sprinkles copied to clipboard

Allow XHR methods to return promises

Open avand opened this issue 8 years ago • 0 comments

If the browser supports Promises and XHR method isn't given a success or error callback, the it's safe to assume the caller wants a Promise to be returned. I like this opt-in style.

avand avatar Jul 16 '16 02:07 avand