mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-20 16:30: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 |
||
|---|---|---|
| .. | ||
| jstd-scenario-adapter | ||
| scenario | ||
| service | ||
| widget | ||
| angular-mocksSpec.js | ||
| AngularSpec.js | ||
| ApiSpecs.js | ||
| BinderSpec.js | ||
| directivesSpec.js | ||
| InjectorSpec.js | ||
| jqLiteSpec.js | ||
| jquery_alias.js | ||
| jquery_remove.js | ||
| jQueryPatchSpec.js | ||
| JsonSpec.js | ||
| markupSpec.js | ||
| matchers.js | ||
| ResourceSpec.js | ||
| sanitizerSpec.js | ||
| ScenarioSpec.js | ||
| testabilityPatch.js | ||
| widgetsSpec.js | ||