changed gotAccel to gotCurrentAcceleration since that is what is called from getCurrentAcceleration

This commit is contained in:
Dave Johnson 2010-07-12 14:44:34 -07:00
parent 8c0cb5716d
commit 89dd0396fe

View File

@ -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;