Skip to content

Commit 8a91d71

Browse files
PatrickJStbosch
authored andcommitted
feat(http.ts): export BrowserXHR
needed for replacing BrowserXHR bindings with mock/server version etc Closes angular#2641
1 parent 4dc6d74 commit 8a91d71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/angular2/http.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ import {BrowserXhr} from 'angular2/src/http/backends/browser_xhr';
1212
import {BrowserJsonp} from 'angular2/src/http/backends/browser_jsonp';
1313
import {BaseRequestOptions, RequestOptions} from 'angular2/src/http/base_request_options';
1414
import {ConnectionBackend} from 'angular2/src/http/interfaces';
15+
import {BaseResponseOptions, ResponseOptions} from 'angular2/src/http/base_response_options';
1516

1617
export {MockConnection, MockBackend} from 'angular2/src/http/backends/mock_backend';
1718
export {Request} from 'angular2/src/http/static_request';
1819
export {Response} from 'angular2/src/http/static_response';
19-
import {BaseResponseOptions, ResponseOptions} from 'angular2/src/http/base_response_options';
2020

2121
export {
2222
IRequestOptions,
@@ -25,6 +25,7 @@ export {
2525
ConnectionBackend
2626
} from 'angular2/src/http/interfaces';
2727

28+
export {BrowserXhr} from 'angular2/src/http/backends/browser_xhr';
2829
export {BaseRequestOptions, RequestOptions} from 'angular2/src/http/base_request_options';
2930
export {BaseResponseOptions, ResponseOptions} from 'angular2/src/http/base_response_options';
3031
export {XHRBackend, XHRConnection} from 'angular2/src/http/backends/xhr_backend';

0 commit comments

Comments
 (0)