{I" class:ETI"BundledAsset;FI"logical_path;TI"jquery.delayedobserver.js;FI" pathname;TI"p/usr/local/rvm/gems/ruby-2.1.2/gems/spree_backend-2.2.4/vendor/assets/javascripts/jquery.delayedobserver.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+TI" length;TiI" digest;TI"%1f5f88a075951c17d0ff53e1c375efee;FI" source;TI"/* jQuery delayed observer - 0.8 http://code.google.com/p/jquery-utils/ (c) Maxime Haineault http://haineault.com MIT License (http://www.opensource.org/licenses/mit-license.php) */ (function($){ $.extend($.fn, { delayedObserver: function(callback, delay, options){ return this.each(function(){ var el = $(this); var op = options || {}; el.data('oldval', el.val()) .data('delay', delay || 0.5) .data('condition', op.condition || function() { return ($(this).data('oldval') == $(this).val()); }) .data('callback', callback) [(op.event||'keyup')](function(){ if (el.data('condition').apply(el)) { return; } else { if (el.data('timer')) { clearTimeout(el.data('timer')); } el.data('timer', setTimeout(function(){ el.data('callback').apply(el); }, el.data('delay') * 1000)); el.data('oldval', el.val()); } }); }); } }); })(jQuery); ;TI"required_assets_digest;TI"%3c84d1fd15806a291b4c27f3a1d3af30;FI" _version;TI"%5ef14a844324cba3e114bd0123f88a5e;F