Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Commit

Permalink
fix xdr success callback not having response
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Tsang committed Jul 14, 2015
1 parent 3efac34 commit 87d2825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Backbone.CrossDomain.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
xdr.onload = function() {
(function(){
this.successCallback.apply(this.successCallback, arguments);
}).apply(self, arguments);
}).apply(self, [xdr.responseText]);
};
this.successCallback = function(){};
this.success = function(callback) {
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "backbone.crossdomain.with.promise",
"version": "0.4.3",
"version": "0.4.4",
"main": "Backbone.CrossDomain.js",
"ignore": ["node_modules"],
"description": "Backbone.CrossDoman - A model extension for Backbone.js with a Sync that works with IE 7-9 using its XDomainRequest",
Expand Down

0 comments on commit 87d2825

Please sign in to comment.