Created
May 19, 2014 18:19
-
-
Save jquense/9fc74f777f1ddd74ca2b to your computer and use it in GitHub Desktop.
Aborting Bluebird Promise
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var xhr = $.ajax({}).then(null, function(){}) | |
var promise = Promise.cast(xhr) | |
xhr.abort() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment