paypro: more debugging.

This commit is contained in:
Christopher Jeffrey 2014-07-30 19:14:29 -07:00 committed by Manuel Araoz
commit 2d12933112
2 changed files with 26 additions and 0 deletions

View file

@ -84,6 +84,12 @@ var $http = G.$http || function $http(options, callback) {
// Newer browsers:
xhr.responseType = 'arraybuffer';
xhr.onreadystatechange = function() {
if (xhr.readyState == 4) {
;
}
};
xhr.onload = function(event) {
var response = xhr.response;
var buf = new Uint8Array(response);