Fixing accel

This commit is contained in:
Joe Bowser 2010-06-04 13:25:28 -07:00
parent c1e628f44c
commit e55cef9c14

View File

@ -76,7 +76,7 @@ Accelerometer.prototype.gotAccel = function(key, x, y, z)
Accelerometer.prototype.watchAcceleration = function(successCallback, errorCallback, options) {
// TODO: add the interval id to a list so we can clear all watches
var frequency = (options != undefined)? options.frequency : 10000;
var frequency = (options != undefined)? options.frequency : 10000;
var accel = Acceleration(0,0,0);
accel.win = successCallback;
accel.fail = errorCallback;