Skip to content

Commit

Permalink
envjs#17: xhr.js has a type error in getAllResponseHeaders
Browse files Browse the repository at this point in the history
  • Loading branch information
orslumen committed Apr 8, 2011
1 parent 2c2027e commit 44fb38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion envjs/xhr.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ XMLHttpRequest.prototype = {
throw new Error("INVALID_STATE_ERR");
} else {
for (header in this.responseHeaders) {
if(this.responseHeader.hasOwnProperty(header)){
if(this.responseHeaders.hasOwnProperty(header)){
returnedHeaders.push( header + ": " + this.responseHeaders[header] );
}
}
Expand Down

0 comments on commit 44fb38d

Please sign in to comment.