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-inclu.../js/jquery/ui
File: effect-clip.js
/*!
[0] Fix | Delete
* jQuery UI Effects Clip 1.13.3
[1] Fix | Delete
* https://jqueryui.com
[2] Fix | Delete
*
[3] Fix | Delete
* Copyright OpenJS Foundation and other contributors
[4] Fix | Delete
* Released under the MIT license.
[5] Fix | Delete
* https://jquery.org/license
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
//>>label: Clip Effect
[9] Fix | Delete
//>>group: Effects
[10] Fix | Delete
//>>description: Clips the element on and off like an old TV.
[11] Fix | Delete
//>>docs: https://api.jqueryui.com/clip-effect/
[12] Fix | Delete
//>>demos: https://jqueryui.com/effect/
[13] Fix | Delete
[14] Fix | Delete
( function( factory ) {
[15] Fix | Delete
"use strict";
[16] Fix | Delete
[17] Fix | Delete
if ( typeof define === "function" && define.amd ) {
[18] Fix | Delete
[19] Fix | Delete
// AMD. Register as an anonymous module.
[20] Fix | Delete
define( [
[21] Fix | Delete
"jquery",
[22] Fix | Delete
"../version",
[23] Fix | Delete
"../effect"
[24] Fix | Delete
], factory );
[25] Fix | Delete
} else {
[26] Fix | Delete
[27] Fix | Delete
// Browser globals
[28] Fix | Delete
factory( jQuery );
[29] Fix | Delete
}
[30] Fix | Delete
} )( function( $ ) {
[31] Fix | Delete
"use strict";
[32] Fix | Delete
[33] Fix | Delete
return $.effects.define( "clip", "hide", function( options, done ) {
[34] Fix | Delete
var start,
[35] Fix | Delete
animate = {},
[36] Fix | Delete
element = $( this ),
[37] Fix | Delete
direction = options.direction || "vertical",
[38] Fix | Delete
both = direction === "both",
[39] Fix | Delete
horizontal = both || direction === "horizontal",
[40] Fix | Delete
vertical = both || direction === "vertical";
[41] Fix | Delete
[42] Fix | Delete
start = element.cssClip();
[43] Fix | Delete
animate.clip = {
[44] Fix | Delete
top: vertical ? ( start.bottom - start.top ) / 2 : start.top,
[45] Fix | Delete
right: horizontal ? ( start.right - start.left ) / 2 : start.right,
[46] Fix | Delete
bottom: vertical ? ( start.bottom - start.top ) / 2 : start.bottom,
[47] Fix | Delete
left: horizontal ? ( start.right - start.left ) / 2 : start.left
[48] Fix | Delete
};
[49] Fix | Delete
[50] Fix | Delete
$.effects.createPlaceholder( element );
[51] Fix | Delete
[52] Fix | Delete
if ( options.mode === "show" ) {
[53] Fix | Delete
element.cssClip( animate.clip );
[54] Fix | Delete
animate.clip = start;
[55] Fix | Delete
}
[56] Fix | Delete
[57] Fix | Delete
element.animate( animate, {
[58] Fix | Delete
queue: false,
[59] Fix | Delete
duration: options.duration,
[60] Fix | Delete
easing: options.easing,
[61] Fix | Delete
complete: done
[62] Fix | Delete
} );
[63] Fix | Delete
[64] Fix | Delete
} );
[65] Fix | Delete
[66] Fix | Delete
} );
[67] Fix | Delete
[68] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function