OSDN Git Service

Version 0.6.170, X.Audio is working ADVANCED_OPTIMIZATIONS.
[pettanr/clientJs.git] / 0.6.x / js / 20_ui / 05_XUI_Gesture.js
index bcf156f..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
                }\r
        };\r
        \r
-       /**\r
+       /*\r
         * this holds the last move event,\r
         * used to fix empty touchend issue\r
         * see the onTouch event for an explanation\r
         */\r
        var last_move_event = null;\r
 \r
-       /**\r
+       /*\r
         * when the mouse is hold down, this is true\r
         * @type {Boolean}\r
         */\r
        var enable_detect = false;\r
 \r
-       /**\r
+       /*\r
         * when touch events have been fired, this is true\r
         * @type {Boolean}\r
         */\r