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-pulsate.js
/*!
[0] Fix | Delete
* jQuery UI Effects Pulsate 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: Pulsate Effect
[9] Fix | Delete
//>>group: Effects
[10] Fix | Delete
//>>description: Pulsates an element n times by changing the opacity to zero and back.
[11] Fix | Delete
//>>docs: https://api.jqueryui.com/pulsate-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( "pulsate", "show", function( options, done ) {
[34] Fix | Delete
var element = $( this ),
[35] Fix | Delete
mode = options.mode,
[36] Fix | Delete
show = mode === "show",
[37] Fix | Delete
hide = mode === "hide",
[38] Fix | Delete
showhide = show || hide,
[39] Fix | Delete
[40] Fix | Delete
// Showing or hiding leaves off the "last" animation
[41] Fix | Delete
anims = ( ( options.times || 5 ) * 2 ) + ( showhide ? 1 : 0 ),
[42] Fix | Delete
duration = options.duration / anims,
[43] Fix | Delete
animateTo = 0,
[44] Fix | Delete
i = 1,
[45] Fix | Delete
queuelen = element.queue().length;
[46] Fix | Delete
[47] Fix | Delete
if ( show || !element.is( ":visible" ) ) {
[48] Fix | Delete
element.css( "opacity", 0 ).show();
[49] Fix | Delete
animateTo = 1;
[50] Fix | Delete
}
[51] Fix | Delete
[52] Fix | Delete
// Anims - 1 opacity "toggles"
[53] Fix | Delete
for ( ; i < anims; i++ ) {
[54] Fix | Delete
element.animate( { opacity: animateTo }, duration, options.easing );
[55] Fix | Delete
animateTo = 1 - animateTo;
[56] Fix | Delete
}
[57] Fix | Delete
[58] Fix | Delete
element.animate( { opacity: animateTo }, duration, options.easing );
[59] Fix | Delete
[60] Fix | Delete
element.queue( done );
[61] Fix | Delete
[62] Fix | Delete
$.effects.unshift( element, queuelen, anims + 1 );
[63] Fix | Delete
} );
[64] Fix | Delete
[65] Fix | Delete
} );
[66] Fix | Delete
[67] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function