o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357152957.5141959è–: @value"B{I" class:EFI"ProcessedAsset;FI"logical_path;FI"jquery.effects.explode.js;FI" pathname;FI"}/Users/strzibny/.rvm/gems/ruby-1.9.2-p136/gems/jquery-ui-rails-2.0.2/vendor/assets/javascripts/jquery.effects.explode.js;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-10-20T14:02:33+02:00;FI" length;FiH I" digest;F"%9a1fbd1bd840571ffc459bbbc7fa8745I" source;FI"H /*! * jQuery UI Effects Explode 1.8.24 * * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Effects/Explode * * Depends: * jquery.effects.core.js */ (function( $, undefined ) { $.effects.explode = function(o) { return this.queue(function() { var rows = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3; var cells = o.options.pieces ? Math.round(Math.sqrt(o.options.pieces)) : 3; o.options.mode = o.options.mode == 'toggle' ? ($(this).is(':visible') ? 'hide' : 'show') : o.options.mode; var el = $(this).show().css('visibility', 'hidden'); var offset = el.offset(); //Substract the margins - not fixing the problem yet. offset.top -= parseInt(el.css("marginTop"),10) || 0; offset.left -= parseInt(el.css("marginLeft"),10) || 0; var width = el.outerWidth(true); var height = el.outerHeight(true); for(var i=0;i') .css({ position: 'absolute', visibility: 'visible', left: -j*(width/cells), top: -i*(height/rows) }) .parent() .addClass('ui-effects-explode') .css({ position: 'absolute', overflow: 'hidden', width: width/cells, height: height/rows, left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? (j-Math.floor(cells/2))*(width/cells) : 0), top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? (i-Math.floor(rows/2))*(height/rows) : 0), opacity: o.options.mode == 'show' ? 0 : 1 }).animate({ left: offset.left + j*(width/cells) + (o.options.mode == 'show' ? 0 : (j-Math.floor(cells/2))*(width/cells)), top: offset.top + i*(height/rows) + (o.options.mode == 'show' ? 0 : (i-Math.floor(rows/2))*(height/rows)), opacity: o.options.mode == 'show' ? 1 : 0 }, o.duration || 500); } } // Set a timeout, to call the callback approx. when the other animations have finished setTimeout(function() { o.options.mode == 'show' ? el.css({ visibility: 'visible' }) : el.css({ visibility: 'visible' }).hide(); if(o.callback) o.callback.apply(el[0]); // Callback el.dequeue(); $('div.ui-effects-explode').remove(); }, o.duration || 500); }); }; })(jQuery); ;FI"dependency_digest;F"%4cb77c048336b6011bc7cb1f739fcf82I"required_paths;F[I"z/Users/strzibny/.rvm/gems/ruby-1.9.2-p136/gems/jquery-ui-rails-2.0.2/vendor/assets/javascripts/jquery.effects.core.js;FI"}/Users/strzibny/.rvm/gems/ruby-1.9.2-p136/gems/jquery-ui-rails-2.0.2/vendor/assets/javascripts/jquery.effects.explode.js;FI"dependency_paths;F[{I" path;FI"}/Users/strzibny/.rvm/gems/ruby-1.9.2-p136/gems/jquery-ui-rails-2.0.2/vendor/assets/javascripts/jquery.effects.explode.js;FI" mtime;FI"2012-10-20T14:02:33+02:00;FI" digest;F"%a19ba096574655f2da748ab4ceca3f6b{I" path;FI"z/Users/strzibny/.rvm/gems/ruby-1.9.2-p136/gems/jquery-ui-rails-2.0.2/vendor/assets/javascripts/jquery.effects.core.js;FI" mtime;FI"2012-10-20T14:02:33+02:00;FI" digest;F"%b676115e709c9b91d1cc31ede54266f2I" _version;F"%6776f581a4329e299531e1d52aa59832