Merge in v5 code

This commit is contained in:
Ibby Hadeed
2017-12-28 07:28:44 -05:00
parent d43fe72f7b
commit 0f9c21ab42
255 changed files with 11473 additions and 6501 deletions
+5 -3
View File
@@ -1,4 +1,4 @@
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
import { Injectable } from '@angular/core';
@@ -54,7 +54,7 @@ export interface GyroscopeOptions {
*
* let options: GyroscopeOptions = {
* frequency: 1000
* };
* }
*
* this.gyroscope.getCurrent(options)
* .then((orientation: GyroscopeOrientation) => {
@@ -105,5 +105,7 @@ export class Gyroscope extends IonicNativePlugin {
@Cordova({
callbackOrder: 'reverse'
})
getCurrent(options?: GyroscopeOptions): Promise<GyroscopeOrientation> { return; }
getCurrent(options?: GyroscopeOptions): Promise<GyroscopeOrientation> {
return;
}
}