From c635a73ed9492e056acc04c199df9c1222b00e2c Mon Sep 17 00:00:00 2001 From: Rob Wormald Date: Mon, 30 Nov 2015 17:36:43 -0800 Subject: [PATCH] refactor(http): remove mockbackend export from angular2/http barrel --- modules/angular2/http.ts | 2 -- modules/angular2/src/http/backends/mock_backend.ts | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/angular2/http.ts b/modules/angular2/http.ts index e41db22f27..029c7f2155 100644 --- a/modules/angular2/http.ts +++ b/modules/angular2/http.ts @@ -13,8 +13,6 @@ import {BrowserJsonp} from './src/http/backends/browser_jsonp'; import {BaseRequestOptions, RequestOptions} from './src/http/base_request_options'; import {ConnectionBackend} from './src/http/interfaces'; 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 {Response} from './src/http/static_response'; diff --git a/modules/angular2/src/http/backends/mock_backend.ts b/modules/angular2/src/http/backends/mock_backend.ts index 7dc6358ed9..ebe1216568 100644 --- a/modules/angular2/src/http/backends/mock_backend.ts +++ b/modules/angular2/src/http/backends/mock_backend.ts @@ -7,6 +7,7 @@ import {isPresent} from 'angular2/src/facade/lang'; import {BaseException, WrappedException} from 'angular2/src/facade/exceptions'; import {Subject} from 'rxjs/Subject'; import {ReplaySubject} from 'rxjs/subjects/ReplaySubject'; +import 'rxjs/operators/take'; /** *