Merge pull request #125 from koraysels/patch-1

documentation wrong for watchAcceleration
This commit is contained in:
Ibrahim Hadeed 2016-04-17 06:23:27 -04:00
commit 3894cb427d

View File

@ -52,7 +52,7 @@ export interface accelerometerOptions {
* ); * );
* *
* // Watch device acceleration * // Watch device acceleration
* var subscription = DeviceMotion.watchPosition().subscribe(acceleration => { * var subscription = DeviceMotion.watchAcceleration().subscribe(acceleration => {
* console.log(acceleration); * console.log(acceleration);
* }); * });
* *