File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ import {ReadyStates} from '../enums';
5
5
import { Connection , ConnectionBackend } from '../interfaces' ;
6
6
import { isPresent } from 'angular2/src/facade/lang' ;
7
7
import { BaseException , WrappedException } from 'angular2/src/facade/exceptions' ;
8
- var Rx = require ( '@reactivex/rxjs/dist/cjs/Rx' ) ;
9
- let { Subject, ReplaySubject} = Rx ;
8
+ import { Subject , ReplaySubject } from '@reactivex/rxjs/dist/cjs/Rx' ;
10
9
11
10
/**
12
11
*
Original file line number Diff line number Diff line change @@ -29,9 +29,7 @@ import {
29
29
Http ,
30
30
Jsonp
31
31
} from 'angular2/http' ;
32
-
33
- var Rx = require ( '@reactivex/rxjs/dist/cjs/Rx' ) ;
34
- let { Observable, Subject} = Rx ;
32
+ import { Observable , Subject } from '@reactivex/rxjs/dist/cjs/Rx' ;
35
33
36
34
class SpyObserver extends SpyObject {
37
35
onNext : Function ;
You can’t perform that action at this time.
0 commit comments