aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/httpBackend.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/service/httpBackend.js')
-rw-r--r--src/service/httpBackend.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/service/httpBackend.js b/src/service/httpBackend.js
index c3114814..6da32600 100644
--- a/src/service/httpBackend.js
+++ b/src/service/httpBackend.js
@@ -57,7 +57,8 @@ function createHttpBackend($browser, XHR, $browserDefer, callbacks, body, locati
var status;
// In IE6 and 7, this might be called synchronously when xhr.send below is called and the
- // response is in the cache
+ // response is in the cache. the promise api will ensure that to the app code the api is
+ // always async
xhr.onreadystatechange = function() {
if (xhr.readyState == 4) {
completeRequest(