1/* 2THIS LIBRARY HAS BEEN MANUALLY PATCHED TO SOLVE AN ISSUE WITH iOS; DON'T UPDATE WITHOUT REAPPLYING. 3iOS would not register clicks on inputs inside draggable blocks, e.g. emoticons management. Fix: 4 5//line: 31 6function simulateMouseEvent(event, simulatedType) { 7 //... 8 //changes to add ++ 9 if ($(event.target).is("input") || $(event.target).is("textarea")) { 10 return; 11 } else { 12 event.preventDefault(); 13 } 14 15See http://stackoverflow.com/questions/26894492/text-input-inside-jquery-ui-sortable-doesnt-work-on-touch-devices 16*/ 17 18 19 20 21/*! 22 * jQuery UI Touch Punch 0.2.3 23 * 24 * Copyright 2011â2014, Dave Furfero 25 * Dual licensed under the MIT or GPL Version 2 licenses. 26 * 27 * Depends: 28 * jquery.ui.widget.js 29 * jquery.ui.mouse.js 30 */ 31!function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){if($(a.target).is("input")||$(a.target).is("textarea")){return;}else{a.preventDefault();}var c=a.originalEvent.changedTouches[0],d=document.createEvent("MouseEvents");d.initMouseEvent(b,!0,!0,window,1,c.screenX,c.screenY,c.clientX,c.clientY,!1,!1,!1,!1,0,null),a.target.dispatchEvent(d)}}if(a.support.touch="ontouchend"in document,a.support.touch){var e,b=a.ui.mouse.prototype,c=b._mouseInit,d=b._mouseDestroy;b._touchStart=function(a){var b=this;!e&&b._mouseCapture(a.originalEvent.changedTouches[0])&&(e=!0,b._touchMoved=!1,f(a,"mouseover"),f(a,"mousemove"),f(a,"mousedown"))},b._touchMove=function(a){e&&(this._touchMoved=!0,f(a,"mousemove"))},b._touchEnd=function(a){e&&(f(a,"mouseup"),f(a,"mouseout"),this._touchMoved||f(a,"click"),e=!1)},b._mouseInit=function(){var b=this;b.element.bind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),c.call(b)},b._mouseDestroy=function(){var b=this;b.element.unbind({touchstart:a.proxy(b,"_touchStart"),touchmove:a.proxy(b,"_touchMove"),touchend:a.proxy(b,"_touchEnd")}),d.call(b)}}}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.