Backbone vs. jQuery vs. Promisses
by Tomek
JavaScript
var self = this;
Q(this.model.fetch( {
success: function myAction( model, response, options ){
console.log(model, response, self.model);
}
});
by Tomek
var self = this;
Q(this.model.fetch( {
success: function myAction( model, response, options ){
console.log(model, response, self.model);
}
});