axj-ab_ 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -569,10 +569,10 @@ var ab_ = {
569
569
  loading && loading();
570
570
  if (callback) {
571
571
  if (xhr.status === 200) {
572
- callback(null, xhr.responseText);
572
+ callback(null, xhr.responseText, xhr);
573
573
  }
574
574
  else {
575
- callback(xhr.text || 'fail', null);
575
+ callback(xhr.text || 'fail', null, xhr);
576
576
  }
577
577
  }
578
578
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axj-ab_",
3
3
  "type": "commonjs",
4
- "version": "1.0.12",
4
+ "version": "1.0.13",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {