fix(http): make jshint happy

This commit is contained in:
Igor Minar 2014-01-31 17:03:30 -08:00
parent ef210e5e11
commit 6609e3da76

View file

@ -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();
}