OSDN Git Service

Version 0.6.169, add doc comment.
[pettanr/clientJs.git] / 0.6.x / js / 20_ui / 05_XUI_Gesture.js
index 37d0af2..ed6bfec 100644 (file)
@@ -57,7 +57,7 @@
                // 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