documentation wrong for watchAcceleration

documentation was wrong. watchPosition instead of watchAcceleration..
This commit is contained in:
Koray S 2016-04-15 14:25:02 +02:00
parent 94de6b43d9
commit 17fa1c72b7

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);
* }); * });
* *