: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* jQuery UI Effects Puff 1.13.3
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license.
* https://jquery.org/license
//>>description: Creates a puff effect by scaling the element up and hiding it at the same time.
//>>docs: https://api.jqueryui.com/puff-effect/
//>>demos: https://jqueryui.com/effect/
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
return $.effects.define( "puff", "hide", function( options, done ) {
var newOptions = $.extend( true, {}, options, {
percent: parseInt( options.percent, 10 ) || 150
$.effects.effect.scale.call( this, newOptions, done );