Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CB-5965 [wp7] support set responseType, get response
  • Loading branch information
purplecabbage committed Mar 22, 2014
1 parent 6b1004e commit 5f92cd4e8458291249a3047458ae62b03838cf2a
Showing 1 changed file with 10 additions and 0 deletions.
@@ -95,6 +95,16 @@ public void InjectScript()
return this.wrappedXHR.responseXML;
}
});
Object.defineProperty(this, 'response', {
get: function() {
return this.wrappedXHR.response;
}
});
Object.defineProperty(this, 'responseType', {
set: function(val) {
return this.wrappedXHR.responseType = val;
}
});
this.getResponseHeader = function(header) {
return this.wrappedXHR.getResponseHeader(header);
};

0 comments on commit 5f92cd4

Please sign in to comment.