// onmouseup, but when touchend has been fired we do nothing.\r
// this is for touchdevices which also fire a mouseup on touchend\r
if( type & MOUSE && touch_triggered ){\r
- return X_Callback_STOP_NOW | X_Callback_PREVENT_DEFAULT;\r
+ return X_CALLBACK_STOP_NOW | X_CALLBACK_PREVENT_DEFAULT;\r
} else\r
// mousebutton must be down or a touch event\r
if( type & TOUCH || //sourceEventType.match(/touch/) || // touch events are always on screen\r
// only when the instance options have enabled this gesture\r
active[ gesture.name ] &&\r
// if a handler returns false, we stop with the detection\r
- ( ret |= ( gesture.handler( e, hammer ) || X_Callback_NONE ) );\r
+ ( ret |= ( gesture.handler( e, hammer ) || X_CALLBACK_NONE ) );\r
};\r
\r
// endevent, but not the last touch, so dont stop\r