aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng')
-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();
}