mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-23 18:00:26 +00:00
$http: - use promises internally - get rid of XhrFuture that was previously used internally - get rid of $browser.defer calls for async stuff (serving from cache), promises will take care of asynchronicity - fix transformation bugs (when caching requested + multiple request pending + error is returned) - get rid of native header parsing and instead just lazily parse the header string $httpBackend: - don't return raw/mock XMLHttpRequest object (we don't use it for anything anymore) - call the callback with response headers string mock $httpBackend: - unify response api for expect and when - call the callback with response headers string - changed the expect/when failure error message so that EXPECTED and GOT values are aligned Conflicts: src/service/http.js test/service/compilerSpec.js test/service/httpSpec.js |
||
|---|---|---|
| .. | ||
| filter | ||
| autoScrollSpec.js | ||
| browserSpecs.js | ||
| cacheFactorySpec.js | ||
| compilerSpec.js | ||
| cookiesSpec.js | ||
| cookieStoreSpec.js | ||
| deferSpec.js | ||
| documentSpec.js | ||
| exceptionHandlerSpec.js | ||
| formFactorySpec.js | ||
| httpBackendSpec.js | ||
| httpSpec.js | ||
| interpolateSpec.js | ||
| localeSpec.js | ||
| locationSpec.js | ||
| logSpec.js | ||
| parseSpec.js | ||
| qSpec.js | ||
| resourceSpec.js | ||
| routeParamsSpec.js | ||
| routeSpec.js | ||
| scopeSpec.js | ||
| snifferSpec.js | ||
| windowSpec.js | ||