Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix(http): make jshint happy
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorMinar committed Feb 1, 2014
1 parent ef210e5 commit 6609e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng/httpBackend.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function createXhr(method) {
//if it is available
if (msie <= 8 && (!method.match(/^(get|post|head|put|delete|options)$/i) ||
!window.XMLHttpRequest)) {
return new ActiveXObject("Microsoft.XMLHTTP");
return new window.ActiveXObject("Microsoft.XMLHTTP");
} else if (window.XMLHttpRequest) {
return new window.XMLHttpRequest();
}
Expand Down

0 comments on commit 6609e3d

Please sign in to comment.