diff options
| author | Vojta Jina | 2013-10-22 14:41:21 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2013-10-22 15:32:41 -0700 | 
| commit | f2fab498303e00d199cb3d19a008670e214d5c10 (patch) | |
| tree | 3aa88fdb1f63bbed45c7541232a0fdfac226c126 /src/ng/httpBackend.js | |
| parent | 934a95d3ef3f72dfc37b0b564624cb4a1286d4f4 (diff) | |
| download | angular.js-f2fab498303e00d199cb3d19a008670e214d5c10.tar.bz2 | |
style: make jshint happy
Diffstat (limited to 'src/ng/httpBackend.js')
| -rw-r--r-- | src/ng/httpBackend.js | 5 | 
1 files changed, 4 insertions, 1 deletions
| diff --git a/src/ng/httpBackend.js b/src/ng/httpBackend.js index 55ea5607..dcb15f77 100644 --- a/src/ng/httpBackend.js +++ b/src/ng/httpBackend.js @@ -1,4 +1,7 @@ +'use strict'; +  var XHR = window.XMLHttpRequest || function() { +  /* global ActiveXObject */    try { return new ActiveXObject("Msxml2.XMLHTTP.6.0"); } catch (e1) {}    try { return new ActiveXObject("Msxml2.XMLHTTP.3.0"); } catch (e2) {}    try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e3) {} @@ -69,7 +72,7 @@ function createHttpBackend($browser, XHR, $browserDefer, callbacks, rawDocument,            var responseHeaders = xhr.getAllResponseHeaders();            // responseText is the old-school way of retrieving response (supported by IE8 & 9) -          // response and responseType properties were introduced in XHR Level2 spec (supported by IE10) +          // response/responseType properties were introduced in XHR Level2 spec (supported by IE10)            completeRequest(callback,                status || xhr.status,                (xhr.responseType ? xhr.response : xhr.responseText), | 
