OSDN Git Service

Version 0.6.65, fixed TouchEvent for iOS3.13, fixed around X.Callback.
[pettanr/clientJs.git] / 0.6.x / js / dom / 12_XDomEvent.js
index 72a49ee..5ad2058 100644 (file)
@@ -57,7 +57,7 @@ if( X.Dom.EVENT_W3C ){
                        this.wheelDeltaX = this.wheelDeltaY = 0;\r
                };\r
                \r
-               if( e.constructor === window.TouchEvent ){\r
+               if( /* e.constructor === window.TouchEvent || */ e.touches /* for iOS3.13 */ ){\r
                        // TouchEvent\r
                        this.touches        = e.touches;\r
                        this.changedTouches = e.changedTouches;\r
@@ -191,6 +191,8 @@ X.Dom.Event.Rename = {};
 X.Dom.Event.RenameTo = {};\r
 // https://github.com/georgeadamson/jQuery.prefixfree-events/blob/master/jQuery.prefixfree-events.js\r
 \r
+// TODO DOMMoseScroll\r
+\r
 if( window.onwebkitanimationend !== undefined && window.onanimationend === undefined ){\r
        console.log( 'animationend <= webkitAnimationEnd' );\r
          X.Dom.Event.Rename[ 'animationend' ]             = 'webkitAnimationEnd';\r