<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*

 jQuery Watch Plugin

 @author Darcy Clarke
 @version 2.0

 Copyright (c) 2012 Darcy Clarke
 Dual licensed under the MIT and GPL licenses.

 ADDS: 

 - $.watch()

 USES:

 - DOMAttrModified event

 FALLBACKS:

 - propertychange event
 - setTimeout() with delay 

 EXAMPLE:

 $('div').watch('width height', function(){
 console.log(this.style.width, this.style.height);
 });

 $('div').animate({width:'100px',height:'200px'}, 500);

*/
(function(d){"function"===typeof define&amp;&amp;define.amd&amp;&amp;define.amd.jQuery?define(["jquery"],d):d(jQuery)})(function(d){d.extend(d.fn,{watch:function(b,c,a){var f=document.createElement("div"),j=function(a,b){var a="on"+a,c=a in b;c||(b.setAttribute(a,"return;"),c=typeof b[a]=="function");"onpropertychange"==a&amp;&amp;d.browser.msie&amp;&amp;d.browser.version&gt;=9&amp;&amp;(c=!1);return c};typeof c=="function"&amp;&amp;(a=c,c={});typeof a!="function"&amp;&amp;(a=function(){});c=d.extend({},{throttle:10},c);return this.each(function(){var g=
d(this),i=function(){for(var a=g.data(),b=!1,c,f=0;f&lt;a.props.length;f++)if(c=g.css(a.props[f]),a.vals[f]!=c){a.vals[f]=c;b=!0;break}b&amp;&amp;a.cb&amp;&amp;a.cb.call(g,a)},h={props:b.split(","),cb:a,vals:[]};d.each(h.props,function(a){h.vals[a]=g.css(h.props[a])});g.data(h);if(j("DOMAttrModified",f))g.on("DOMAttrModified",a);else if(j("propertychange",f))g.on("propertychange",a);else setInterval(i,c.throttle)})}})});
;(function(){if(!("undefined"==typeof Muse||"undefined"==typeof Muse.assets)){var c=function(a,b){for(var c=0,d=a.length;c&lt;d;c++)if(a[c]==b)return c;return-1}(Muse.assets.required,"jquery.watch.js");if(-1!=c){Muse.assets.required.splice(c,1);for(var c=document.getElementsByTagName("meta"),b=0,d=c.length;b&lt;d;b++){var a=c[b];if("generator"==a.getAttribute("name")){"2018.1.1.386"!=a.getAttribute("content")&amp;&amp;Muse.assets.outOfDate.push("jquery.watch.js");break}}}}})();
</pre></body></html>