aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Minar2014-01-31 17:03:30 -0800
committerIgor Minar2014-01-31 17:03:30 -0800
commit6609e3da76dd898cfe85f75f23ab2e39fee65fe5 (patch)
tree2e74d78b3e6ee1c3e6c4aff8c3dbb4926a2ce610
parentef210e5e119db4f5bfc9d2428b19f9b335c4f976 (diff)
downloadangular.js-6609e3da76dd898cfe85f75f23ab2e39fee65fe5.tar.bz2
fix(http): make jshint happy
-rw-r--r--src/ng/httpBackend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/httpBackend.js b/src/ng/httpBackend.js
index 665c5eec..11e1b999 100644
--- a/src/ng/httpBackend.js
+++ b/src/ng/httpBackend.js
@@ -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();
}