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.
- package/index.js +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
|
}
|