X Tutup
Skip to content

Commit c635a73

Browse files
robwormaldjelbourn
authored andcommitted
refactor(http): remove mockbackend export from angular2/http barrel
1 parent f76eea4 commit c635a73

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

modules/angular2/http.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import {BrowserJsonp} from './src/http/backends/browser_jsonp';
1313
import {BaseRequestOptions, RequestOptions} from './src/http/base_request_options';
1414
import {ConnectionBackend} from './src/http/interfaces';
1515
import {BaseResponseOptions, ResponseOptions} from './src/http/base_response_options';
16-
17-
export {MockConnection, MockBackend} from './src/http/backends/mock_backend';
1816
export {Request} from './src/http/static_request';
1917
export {Response} from './src/http/static_response';
2018

modules/angular2/src/http/backends/mock_backend.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import {isPresent} from 'angular2/src/facade/lang';
77
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
88
import {Subject} from 'rxjs/Subject';
99
import {ReplaySubject} from 'rxjs/subjects/ReplaySubject';
10+
import 'rxjs/operators/take';
1011

1112
/**
1213
*

0 commit comments

Comments
 (0)
X Tutup