Forgot __onShake method.

This commit is contained in:
rykerwilliams 2013-09-23 10:55:00 -04:00
parent 88aa0df407
commit f083a3dabb

View file

@ -48,6 +48,16 @@
this.fire('touch:orientation', {e: e, self: self});
},
/**
* Method that defines actions when an Event.js shake event is detected.
*
* @param e Event object by Event.js
* @param self Event proxy object by Event.js
*/
__onShake: function(e, self) {
this.fire('touch:shake', {e: e, self: self});
},
/**
* Scales an object by a factor
* @param s {Number} The scale factor to apply to the current scale level