/*! * jQuery UI Touch Punch 0.2.2 * * Copyright 2011, Dave Furfero * Dual licensed under the MIT or GPL Version 2 licenses. * * Depends: * jquery.ui.widget.js * jquery.ui.mouse.js */ (function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return}g.preventDefault();var i=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,i.screenX,i.screenY,i.clientX,i.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f)}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown")};c._touchMove=function(f){if(!a){return}this._touchMoved=true;d(f,"mousemove")};c._touchEnd=function(f){if(!a){return}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click")}a=false};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f)}})(jQuery);
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ui | Folder | 0755 |
|
|
jquery-migrate.js | File | 31.23 KB | 0644 |
|
jquery-migrate.min.js | File | 13.26 KB | 0644 |
|
jquery.color.min.js | File | 6.49 KB | 0644 |
|
jquery.form.js | File | 40.93 KB | 0644 |
|
jquery.form.min.js | File | 15.6 KB | 0644 |
|
jquery.hotkeys.js | File | 5.49 KB | 0644 |
|
jquery.hotkeys.min.js | File | 1.75 KB | 0644 |
|
jquery.js | File | 278.65 KB | 0644 |
|
jquery.masonry.min.js | File | 1.78 KB | 0644 |
|
jquery.min.js | File | 85.5 KB | 0644 |
|
jquery.query.js | File | 3.61 KB | 0644 |
|
jquery.schedule.js | File | 3.38 KB | 0644 |
|
jquery.serialize-object.js | File | 769 B | 0644 |
|
jquery.table-hotkeys.js | File | 3.66 KB | 0644 |
|
jquery.table-hotkeys.min.js | File | 2.24 KB | 0644 |
|
jquery.ui.touch-punch.js | File | 1.15 KB | 0644 |
|
suggest.js | File | 6.83 KB | 0644 |
|
suggest.min.js | File | 2.92 KB | 0644 |
|