diff options
Diffstat (limited to 'lib/dojo/touch.js')
-rw-r--r-- | lib/dojo/touch.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/dojo/touch.js b/lib/dojo/touch.js new file mode 100644 index 000000000..db903de59 --- /dev/null +++ b/lib/dojo/touch.js @@ -0,0 +1,8 @@ +/* + Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + +//>>built +define("dojo/touch",["./_base/kernel","./on","./has","./mouse"],function(_1,on,_2,_3){function _4(_5){return function(_6,_7){return on(_6,_5,_7);};};var _8=_2("touch");_1.touch={press:_4(_8?"touchstart":"mousedown"),move:_4(_8?"touchmove":"mousemove"),release:_4(_8?"touchend":"mouseup"),cancel:_8?_4("touchcancel"):_3.leave};return _1.touch;});
\ No newline at end of file |