mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
fix(http): make jshint happy
This commit is contained in:
parent
ef210e5e11
commit
6609e3da76
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue