refactor(http): remove mockbackend export from angular2/http barrel
This commit is contained in:
parent
f76eea4f9b
commit
c635a73ed9
|
@ -13,8 +13,6 @@ import {BrowserJsonp} from './src/http/backends/browser_jsonp';
|
||||||
import {BaseRequestOptions, RequestOptions} from './src/http/base_request_options';
|
import {BaseRequestOptions, RequestOptions} from './src/http/base_request_options';
|
||||||
import {ConnectionBackend} from './src/http/interfaces';
|
import {ConnectionBackend} from './src/http/interfaces';
|
||||||
import {BaseResponseOptions, ResponseOptions} from './src/http/base_response_options';
|
import {BaseResponseOptions, ResponseOptions} from './src/http/base_response_options';
|
||||||
|
|
||||||
export {MockConnection, MockBackend} from './src/http/backends/mock_backend';
|
|
||||||
export {Request} from './src/http/static_request';
|
export {Request} from './src/http/static_request';
|
||||||
export {Response} from './src/http/static_response';
|
export {Response} from './src/http/static_response';
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,7 @@ import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||||
import {Subject} from 'rxjs/Subject';
|
import {Subject} from 'rxjs/Subject';
|
||||||
import {ReplaySubject} from 'rxjs/subjects/ReplaySubject';
|
import {ReplaySubject} from 'rxjs/subjects/ReplaySubject';
|
||||||
|
import 'rxjs/operators/take';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue