mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-26 12:03:28 +08:00
changed gotAccel to gotCurrentAcceleration since that is what is called from getCurrentAcceleration
This commit is contained in:
parent
8c0cb5716d
commit
89dd0396fe
@ -46,7 +46,7 @@ Accelerometer.prototype.getCurrentAcceleration = function(successCallback, error
|
||||
}
|
||||
|
||||
|
||||
Accelerometer.prototype.gotAccel = function(key, x, y, z)
|
||||
Accelerometer.prototype.gotCurrentAcceleration = function(key, x, y, z)
|
||||
{
|
||||
var a = new Acceleration(x,y,z);
|
||||
a.x = x;
|
||||
|
Loading…
Reference in New Issue
Block a user