Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/ninja-fo.../assets/js/lib
File: jquery.ui.touch-punch.min.js
/*!
[0] Fix | Delete
*
[1] Fix | Delete
* This library has been modified! This function has been changed: mouseProto._mouseInit
[2] Fix | Delete
*
[3] Fix | Delete
* Original Version:
[4] Fix | Delete
*
[5] Fix | Delete
* mouseProto._mouseInit = function () {
[6] Fix | Delete
*
[7] Fix | Delete
* var self = this;
[8] Fix | Delete
*
[9] Fix | Delete
* // Delegate the touch handlers to the widget's element
[10] Fix | Delete
* self.element.bind({
[11] Fix | Delete
* touchstart: $.proxy(self, '_touchStart'),
[12] Fix | Delete
* touchmove: $.proxy(self, '_touchMove'),
[13] Fix | Delete
* touchend: $.proxy(self, '_touchEnd')
[14] Fix | Delete
* });
[15] Fix | Delete
*
[16] Fix | Delete
* // Call the original $.ui.mouse init method
[17] Fix | Delete
* _mouseInit.call(self);
[18] Fix | Delete
* };
[19] Fix | Delete
*
[20] Fix | Delete
*
[21] Fix | Delete
* New Version:
[22] Fix | Delete
*
[23] Fix | Delete
* mouseProto._mouseInit = function () {
[24] Fix | Delete
*
[25] Fix | Delete
* var self = this;
[26] Fix | Delete
*
[27] Fix | Delete
* // Delegate the touch handlers to the widget's element
[28] Fix | Delete
* self.element
[29] Fix | Delete
* .bind('taphold', $.proxy(self, '_touchStart')) // IMPORTANT!MOD FOR TAPHOLD TO START SORTABLE
[30] Fix | Delete
* .bind('touchmove', $.proxy(self, '_touchMove'))
[31] Fix | Delete
* .bind('touchend', $.proxy(self, '_touchEnd'));
[32] Fix | Delete
*
[33] Fix | Delete
* // Call the original $.ui.mouse init method
[34] Fix | Delete
* _mouseInit.call(self);
[35] Fix | Delete
* };
[36] Fix | Delete
*
[37] Fix | Delete
* Why?
[38] Fix | Delete
*
[39] Fix | Delete
* The original version mapped any tap start to a click. This means that you weren't able to scroll through
[40] Fix | Delete
* the sortable on a mobile device, as every attempt to scroll was intercepted as a click.
[41] Fix | Delete
*
[42] Fix | Delete
* jQuery UI Touch Punch 0.2.3
[43] Fix | Delete
*
[44] Fix | Delete
* Copyright 2011–2014, Dave Furfero
[45] Fix | Delete
* Dual licensed under the MIT or GPL Version 2 licenses.
[46] Fix | Delete
*
[47] Fix | Delete
* Depends:
[48] Fix | Delete
* jquery.ui.widget.js
[49] Fix | Delete
* jquery.ui.mouse.js
[50] Fix | Delete
*/
[51] Fix | Delete
!function(o){function t(o,t){if(!(o.originalEvent.touches.length>1)){o.preventDefault();var e=o.originalEvent.changedTouches[0],u=document.createEvent("MouseEvents");u.initMouseEvent(t,!0,!0,window,1,e.screenX,e.screenY,e.clientX,e.clientY,!1,!1,!1,!1,0,null),o.target.dispatchEvent(u)}}if(o.support.touch="ontouchend"in document,o.support.touch){var e,u=o.ui.mouse.prototype,n=u._mouseInit,c=u._mouseDestroy;u._touchStart=function(o){var u=this;!e&&u._mouseCapture(o.originalEvent.changedTouches[0])&&(e=!0,u._touchMoved=!1,t(o,"mouseover"),t(o,"mousemove"),t(o,"mousedown"))},u._touchMove=function(o){e&&(this._touchMoved=!0,t(o,"mousemove"))},u._touchEnd=function(o){e&&(t(o,"mouseup"),t(o,"mouseout"),this._touchMoved||t(o,"click"),e=!1)},u._mouseInit=function(){var t=this;t.element.bind("taphold",o.proxy(t,"_touchStart")).bind("touchmove",o.proxy(t,"_touchMove")).bind("touchend",o.proxy(t,"_touchEnd")),n.call(t)},u._mouseDestroy=function(){var t=this;t.element.unbind({touchstart:o.proxy(t,"_touchStart"),touchmove:o.proxy(t,"_touchMove"),touchend:o.proxy(t,"_touchEnd")}),c.call(t)}}}(jQuery);
[52] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function