forked from github/cordova-android
Error with acceleromter API. Missed the acceleration object
This commit is contained in:
parent
ebd2b7ed4f
commit
80ece870d2
@ -1,3 +1,10 @@
|
|||||||
|
function Acceleration(x, y, z)
|
||||||
|
{
|
||||||
|
this.x = x;
|
||||||
|
this.y = y;
|
||||||
|
this.z = z;
|
||||||
|
}
|
||||||
|
|
||||||
// Need to define these for android
|
// Need to define these for android
|
||||||
_accel = {}
|
_accel = {}
|
||||||
_accel.x = 0;
|
_accel.x = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user