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-scale.js
/*!
[0] Fix | Delete
* jQuery UI Effects Scale 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: Scale Effect
[9] Fix | Delete
//>>group: Effects
[10] Fix | Delete
//>>description: Grows or shrinks an element and its content.
[11] Fix | Delete
//>>docs: https://api.jqueryui.com/scale-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
"./effect-size"
[25] Fix | Delete
], factory );
[26] Fix | Delete
} else {
[27] Fix | Delete
[28] Fix | Delete
// Browser globals
[29] Fix | Delete
factory( jQuery );
[30] Fix | Delete
}
[31] Fix | Delete
} )( function( $ ) {
[32] Fix | Delete
"use strict";
[33] Fix | Delete
[34] Fix | Delete
return $.effects.define( "scale", function( options, done ) {
[35] Fix | Delete
[36] Fix | Delete
// Create element
[37] Fix | Delete
var el = $( this ),
[38] Fix | Delete
mode = options.mode,
[39] Fix | Delete
percent = parseInt( options.percent, 10 ) ||
[40] Fix | Delete
( parseInt( options.percent, 10 ) === 0 ? 0 : ( mode !== "effect" ? 0 : 100 ) ),
[41] Fix | Delete
[42] Fix | Delete
newOptions = $.extend( true, {
[43] Fix | Delete
from: $.effects.scaledDimensions( el ),
[44] Fix | Delete
to: $.effects.scaledDimensions( el, percent, options.direction || "both" ),
[45] Fix | Delete
origin: options.origin || [ "middle", "center" ]
[46] Fix | Delete
}, options );
[47] Fix | Delete
[48] Fix | Delete
// Fade option to support puff
[49] Fix | Delete
if ( options.fade ) {
[50] Fix | Delete
newOptions.from.opacity = 1;
[51] Fix | Delete
newOptions.to.opacity = 0;
[52] Fix | Delete
}
[53] Fix | Delete
[54] Fix | Delete
$.effects.effect.size.call( this, newOptions, done );
[55] Fix | Delete
} );
[56] Fix | Delete
[57] Fix | Delete
} );
[58] Fix | Delete
[59] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function