mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 09:01:07 +08:00
refractor Observable imports
This commit is contained in:
parent
bcdec67c2e
commit
9987fb24da
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name AdMob
|
* @name AdMob
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
declare var window;
|
declare var window;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Battery Status
|
* @name Battery Status
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name BLE
|
* @name BLE
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Bluetooth Serial
|
* @name Bluetooth Serial
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
/**
|
/**
|
||||||
* @name DB Meter
|
* @name DB Meter
|
||||||
* @description This plugin defines a global DBMeter object, which permits to get the decibel values from the microphone.
|
* @description This plugin defines a global DBMeter object, which permits to get the decibel values from the microphone.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
export interface AccelerationData {
|
export interface AccelerationData {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
export interface CompassHeading {
|
export interface CompassHeading {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
declare var window;
|
declare var window;
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Cordova, Plugin} from './plugin';
|
import {Cordova, Plugin} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
import {CordovaInstance} from './plugin';
|
import {CordovaInstance} from './plugin';
|
||||||
/**
|
/**
|
||||||
* Created by Ibrahim on 3/29/2016.
|
* Created by Ibrahim on 3/29/2016.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Cordova, Plugin} from './plugin';
|
import {Cordova, Plugin} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Keyboard
|
* @name Keyboard
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova, CordovaProperty} from './plugin';
|
import {Plugin, Cordova, CordovaProperty} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
declare var navigator: any;
|
declare var navigator: any;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ declare var navigator: any;
|
|||||||
* let connectSubscription = Network.onConnect().subscribe(() => {
|
* let connectSubscription = Network.onConnect().subscribe(() => {
|
||||||
* console.log('network connected!');
*
|
* console.log('network connected!');
*
|
||||||
* // We just got a connection but we need to wait briefly
|
* // 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.
|
* // prior to doing any api requests as well.
|
||||||
* setTimeout(() => {
|
* setTimeout(() => {
|
||||||
* console.log(Network.connection);
|
* console.log(Network.connection);
|
||||||
|
@ -6,7 +6,7 @@ declare var window;
|
|||||||
declare var Promise;
|
declare var Promise;
|
||||||
declare var $q;
|
declare var $q;
|
||||||
|
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @private
|
* @private
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {Plugin, Cordova} from './plugin';
|
import {Plugin, Cordova} from './plugin';
|
||||||
import {Observable} from 'rxjs/Observable';
|
import {Observable} from 'rxjs/Rx';
|
||||||
|
|
||||||
export interface ToastOptions {
|
export interface ToastOptions {
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user