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-fold.js
/*!
[0] Fix | Delete
* jQuery UI Effects Fold 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: Fold Effect
[9] Fix | Delete
//>>group: Effects
[10] Fix | Delete
//>>description: Folds an element first horizontally and then vertically.
[11] Fix | Delete
//>>docs: https://api.jqueryui.com/fold-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( "fold", "hide", function( options, done ) {
[34] Fix | Delete
[35] Fix | Delete
// Create element
[36] Fix | Delete
var element = $( this ),
[37] Fix | Delete
mode = options.mode,
[38] Fix | Delete
show = mode === "show",
[39] Fix | Delete
hide = mode === "hide",
[40] Fix | Delete
size = options.size || 15,
[41] Fix | Delete
percent = /([0-9]+)%/.exec( size ),
[42] Fix | Delete
horizFirst = !!options.horizFirst,
[43] Fix | Delete
ref = horizFirst ? [ "right", "bottom" ] : [ "bottom", "right" ],
[44] Fix | Delete
duration = options.duration / 2,
[45] Fix | Delete
[46] Fix | Delete
placeholder = $.effects.createPlaceholder( element ),
[47] Fix | Delete
[48] Fix | Delete
start = element.cssClip(),
[49] Fix | Delete
animation1 = { clip: $.extend( {}, start ) },
[50] Fix | Delete
animation2 = { clip: $.extend( {}, start ) },
[51] Fix | Delete
[52] Fix | Delete
distance = [ start[ ref[ 0 ] ], start[ ref[ 1 ] ] ],
[53] Fix | Delete
[54] Fix | Delete
queuelen = element.queue().length;
[55] Fix | Delete
[56] Fix | Delete
if ( percent ) {
[57] Fix | Delete
size = parseInt( percent[ 1 ], 10 ) / 100 * distance[ hide ? 0 : 1 ];
[58] Fix | Delete
}
[59] Fix | Delete
animation1.clip[ ref[ 0 ] ] = size;
[60] Fix | Delete
animation2.clip[ ref[ 0 ] ] = size;
[61] Fix | Delete
animation2.clip[ ref[ 1 ] ] = 0;
[62] Fix | Delete
[63] Fix | Delete
if ( show ) {
[64] Fix | Delete
element.cssClip( animation2.clip );
[65] Fix | Delete
if ( placeholder ) {
[66] Fix | Delete
placeholder.css( $.effects.clipToBox( animation2 ) );
[67] Fix | Delete
}
[68] Fix | Delete
[69] Fix | Delete
animation2.clip = start;
[70] Fix | Delete
}
[71] Fix | Delete
[72] Fix | Delete
// Animate
[73] Fix | Delete
element
[74] Fix | Delete
.queue( function( next ) {
[75] Fix | Delete
if ( placeholder ) {
[76] Fix | Delete
placeholder
[77] Fix | Delete
.animate( $.effects.clipToBox( animation1 ), duration, options.easing )
[78] Fix | Delete
.animate( $.effects.clipToBox( animation2 ), duration, options.easing );
[79] Fix | Delete
}
[80] Fix | Delete
[81] Fix | Delete
next();
[82] Fix | Delete
} )
[83] Fix | Delete
.animate( animation1, duration, options.easing )
[84] Fix | Delete
.animate( animation2, duration, options.easing )
[85] Fix | Delete
.queue( done );
[86] Fix | Delete
[87] Fix | Delete
$.effects.unshift( element, queuelen, 4 );
[88] Fix | Delete
} );
[89] Fix | Delete
[90] Fix | Delete
} );
[91] Fix | Delete
[92] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function