<commit_before>/*!
 * jQuery UI Touch Punch 0.2.3
 *
 * Copyright 2011–2014, <NAME>
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 * Depends:
 *  jquery.ui.widget.js
 *  jquery.ui.mouse.js
 */
!function(a){function f(a,b){if(!(a.originalEvent.touches.length>1)){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);<commit_msg>fix a big touch bug on some mobile devices<commit_after>/*!
 * jQuery UI Touch Punch 0.2.3 (forked, see below)
 *
 * Copyright 2011–2014, <NAME>
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 * Depends:
 *  jquery.ui.widget.js
 *  jquery.ui.mouse.js
 *
 * This version is forked from: https://github.com/dukex/jquery-ui-touch-punch
 * And available at: https://github.com/nobitagit/jquery-ui-touch-punch
 *
 */
!function(t){function o(o,e){if(!(o.originalEvent.touches.length>1)){var u=o.originalEvent.changedTouches[0],n=document.createEvent("MouseEvents");t(u.target).is("input")||t(u.target).is("textarea")?o.stopPropagation():o.preventDefault(),n.initMouseEvent(e,!0,!0,window,1,u.screenX,u.screenY,u.clientX,u.clientY,!1,!1,!1,!1,0,null),o.target.dispatchEvent(n)}}if(t.support.touch="ontouchend"in document,t.support.touch){var e,u=t.ui.mouse.prototype,n=u._mouseInit,c=u._mouseDestroy;u._touchStart=function(t){var u=this;!e&&u._mouseCapture(t.originalEvent.changedTouches[0])&&(e=!0,u._touchMoved=!1,this._startedMove=t.timeStamp,o(t,"mouseover"),o(t,"mousemove"),o(t,"mousedown"))},u._touchMove=function(t){e&&(this._touchMoved=!0,o(t,"mousemove"))},u._touchEnd=function(t){if(e){o(t,"mouseup"),o(t,"mouseout");var u=t.timeStamp-this._startedMove;(!this._touchMoved||500>u)&&o(t,"click"),e=!1}},u._mouseInit=function(){var o=this;o.element.bind({touchstart:t.proxy(o,"_touchStart"),touchmove:t.proxy(o,"_touchMove"),touchend:t.proxy(o,"_touchEnd")}),n.call(o)},u._mouseDestroy=function(){var o=this;o.element.unbind({touchstart:t.proxy(o,"_touchStart"),touchmove:t.proxy(o,"_touchMove"),touchend:t.proxy(o,"_touchEnd")}),c.call(o)}}}(jQuery);
{'fraction_non_alphanumeric': 0.23084677419354838, 'fraction_numerical': 0.019153225806451613, 'mean_word_length': 10.066914498141264, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7571889', 'n_tokens_mistral': 1218, 'n_tokens_neox': 1186, 'n_words': 81}