Skip to content

Instantly share code, notes, and snippets.

@chrisgeo

chrisgeo/test.js Secret

Created Sep 11, 2015
Embed
What would you like to do?
$.ajax({
url: url,
method: 'POST',
data: initObj,
dataType: 'json'
})
.done(_.bind(this.processInitStreamData, this))
.fail(function(xhr, status, error){
console.log('failure', error);
})
.always(function(data, status, xhr){
console.log('always');
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.