refractor Observable imports

This commit is contained in:
Ibrahim Hadeed
2016-05-20 16:59:18 -04:00
parent bcdec67c2e
commit 9987fb24da
14 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
/**
* @name AdMob
@@ -174,4 +174,4 @@ export class AdMob {
})
static onInterstitialDismiss (): Observable<any> {return; }
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
declare var window;
+1 -1
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
/**
* @name Battery Status
+1 -1
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
/**
* @name BLE
+2 -2
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
/**
* @name Bluetooth Serial
@@ -221,4 +221,4 @@ export class BluetoothSerial {
}
}
+2 -2
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
/**
* @name DB Meter
* @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 {
@Cordova()
static delete(): Promise<any> {return; }
}
}
+2 -2
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
export interface AccelerationData {
@@ -101,4 +101,4 @@ export class DeviceMotion {
static watchAcceleration(options?: AccelerometerOptions): Observable<AccelerationData> {
return;
}
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
export interface CompassHeading {
+1 -1
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
declare var window;
+1 -1
View File
@@ -1,5 +1,5 @@
import {Cordova, Plugin} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
import {CordovaInstance} from './plugin';
/**
* Created by Ibrahim on 3/29/2016.
+1 -1
View File
@@ -1,5 +1,5 @@
import {Cordova, Plugin} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
/**
* @name Keyboard
+2 -2
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova, CordovaProperty} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
declare var navigator: any;
@@ -25,7 +25,7 @@ declare var navigator: any;
* let connectSubscription = Network.onConnect().subscribe(() => {
* console.log('network connected!');*
* // We just got a connection but we need to wait briefly
* // before we determine the connection type. Might need to wait
*// before we determine the connection type. Might need to wait
* // prior to doing any api requests as well.
* setTimeout(() => {
* console.log(Network.connection);
+2 -2
View File
@@ -6,7 +6,7 @@ declare var window;
declare var Promise;
declare var $q;
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
/**
* @private
@@ -335,4 +335,4 @@ export function InstanceProperty(target: Function, key: string, descriptor: Type
};
return descriptor;
}
}
+1 -1
View File
@@ -1,5 +1,5 @@
import {Plugin, Cordova} from './plugin';
import {Observable} from 'rxjs/Observable';
import {Observable} from 'rxjs/Rx';
export interface ToastOptions {
/**