Fix defaults for swipe duration

This commit is contained in:
Isaac Murchie
2014-05-06 15:38:49 -07:00
parent 02eb9b3789
commit 19d6b77f0e
2 changed files with 14 additions and 2 deletions
+4 -1
View File
@@ -953,7 +953,10 @@ androidController.performTouch = function (gestures, cb) {
var gesture = gestures.shift();
if (typeof gesture === "undefined") return cb(null, res);
this.doTouchAction(gesture.action, gesture.options, cycleThroughGestures);
var action = gesture.action;
var options = gesture.options || {};
this.doTouchAction(action, options, cycleThroughGestures);
}.bind(this);
cycleThroughGestures();
};