{:uriI"Éfile:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/extensions.js?type=application/javascript&pipeline=self&id=e93c1a17c3732a509d404e5238876577549343d2a4e9e2ab57884f036fade29f:ET:load_pathI"G/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts;T: filenameI"Y/Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/extensions.js;T: nameI"fae/extensions;T:logical_pathI"fae/extensions.self.js;T:content_typeI"application/javascript;T: sourceI"•//Smart resizer a la paul irish (function($,sr){ // debouncing function from John Hann // http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/ var debounce = function (func, threshold, execAsap) { var timeout; return function debounced () { var obj = this, args = arguments; function delayed () { if (!execAsap) func.apply(obj, args); timeout = null; } if (timeout) clearTimeout(timeout); else if (execAsap) func.apply(obj, args); timeout = setTimeout(delayed, threshold || 100); }; }; // smartresize jQuery.fn[sr] = function(fn){ return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr); }; /* usage: $(window).smartresize(function(){ [code that takes it easy...] }); */ })(jQuery,'smartresize'); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"gfile-digest:///Library/WebServer/Documents/work/fine/_fae/app/assets/javascripts/fae/extensions.js;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%¼/ƒ[ª4þ ä¸,’h‘cNXNù=Å•YÙ!F‡: lengthi•:dependencies_digest"%8é1;¶ÓU…³ø§;dQùv"–Zr¢}lÉ`܃eÞ:idI"Ee93c1a17c3732a509d404e5238876577549343d2a4e9e2ab57884f036fade29f;F: mtimel+%‹BV