]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-includes/js/jquery/ui/effect-highlight.min.js
WordPress 4.2.3
[autoinstalls/wordpress.git] / wp-includes / js / jquery / ui / effect-highlight.min.js
1 /*!
2  * jQuery UI Effects Highlight 1.11.4
3  * http://jqueryui.com
4  *
5  * Copyright jQuery Foundation and other contributors
6  * Released under the MIT license.
7  * http://jquery.org/license
8  *
9  * http://api.jqueryui.com/highlight-effect/
10  */
11 !function(a){"function"==typeof define&&define.amd?define(["jquery","./effect"],a):a(jQuery)}(function(a){return a.effects.effect.highlight=function(b,c){var d=a(this),e=["backgroundImage","backgroundColor","opacity"],f=a.effects.setMode(d,b.mode||"show"),g={backgroundColor:d.css("backgroundColor")};"hide"===f&&(g.opacity=0),a.effects.save(d,e),d.show().css({backgroundImage:"none",backgroundColor:b.color||"#ffff99"}).animate(g,{queue:!1,duration:b.duration,easing:b.easing,complete:function(){"hide"===f&&d.hide(),a.effects.restore(d,e),c()}})}});