mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-05 17:01:19 +08:00
style($httpBackend): fix typo
This commit is contained in:
committed by
Igor Minar
parent
3b1a4fe0c8
commit
32cc6cbb6f
@@ -71,7 +71,7 @@ function createHttpBackend($browser, createXhr, $browserDefer, callbacks, rawDoc
|
||||
// response is in the cache. the promise api will ensure that to the app code the api is
|
||||
// always async
|
||||
xhr.onreadystatechange = function() {
|
||||
// onreadystatechange might by called multiple times with readyState === 4 on mobile webkit caused by
|
||||
// onreadystatechange might get called multiple times with readyState === 4 on mobile webkit caused by
|
||||
// xhrs that are resolved while the app is in the background (see #5426).
|
||||
// since calling completeRequest sets the `xhr` variable to null, we just check if it's not null before
|
||||
// continuing
|
||||
|
||||
Reference in New Issue
Block a user