Skip to content

Commit 9987fb2

Browse files
committed
refractor Observable imports
1 parent bcdec67 commit 9987fb2

File tree

14 files changed

+20
-20
lines changed

14 files changed

+20
-20
lines changed

src/plugins/admob.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33

44
/**
55
* @name AdMob
@@ -174,4 +174,4 @@ export class AdMob {
174174
})
175175
static onInterstitialDismiss (): Observable<any> {return; }
176176

177-
}
177+
}

src/plugins/background-geolocation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33

44
declare var window;
55

src/plugins/batterystatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33

44
/**
55
* @name Battery Status

src/plugins/ble.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33

44
/**
55
* @name BLE

src/plugins/bluetoothserial.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33

44
/**
55
* @name Bluetooth Serial
@@ -221,4 +221,4 @@ export class BluetoothSerial {
221221

222222

223223

224-
}
224+
}

src/plugins/dbmeter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33
/**
44
* @name DB Meter
55
* @description This plugin defines a global DBMeter object, which permits to get the decibel values from the microphone.
@@ -68,4 +68,4 @@ export class DBMeter {
6868
@Cordova()
6969
static delete(): Promise<any> {return; }
7070

71-
}
71+
}

src/plugins/devicemotion.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33

44
export interface AccelerationData {
55

@@ -101,4 +101,4 @@ export class DeviceMotion {
101101
static watchAcceleration(options?: AccelerometerOptions): Observable<AccelerationData> {
102102
return;
103103
}
104-
}
104+
}

src/plugins/deviceorientation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33

44
export interface CompassHeading {
55

src/plugins/geolocation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Plugin, Cordova} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33

44
declare var window;
55

src/plugins/googlemaps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import {Cordova, Plugin} from './plugin';
2-
import {Observable} from 'rxjs/Observable';
2+
import {Observable} from 'rxjs/Rx';
33
import {CordovaInstance} from './plugin';
44
/**
55
* Created by Ibrahim on 3/29/2016.

0 commit comments

Comments
 (0)