From 6609e3da76dd898cfe85f75f23ab2e39fee65fe5 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Fri, 31 Jan 2014 17:03:30 -0800 Subject: [PATCH] fix(http): make jshint happy --- src/ng/httpBackend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ng/httpBackend.js b/src/ng/httpBackend.js index 665c5eec3997..11e1b999439c 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(); }