Sha256: 5c64ed34eb56115018e3103eb32eaea9e8d0f7ee09afca02b3364faff79d9b7e

Contents?: true

Size: 1.73 KB

Versions: 2

Compression:

Stored size: 1.73 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1330634906.585948:@value"‡{I"
class:EFI"ProcessedAsset;FI"logical_path;F"%umlaut/expand_contract_toggle.jsI"
pathname;F"R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.jsI"content_type;FI"application/javascript;FI"
mtime;FI"2012-02-29T14:11:58-05:00;FI"length;Fi{I"digest;F"%60b5124eab4730836e30c70429e8a639I"source;FI"{/* expand_contract_toggle.js: Support for show more/hide more in lists of umlaut content. */

jQuery(document).ready(function($) {
   
    $(".expand_contract_toggle").live("click", function() {
        var content = $(this).next(".expand_contract_content");
        var icon = $(this).parent().find('img.toggle_icon');
        
        if (content.is(":visible")) {                    
          icon.attr("src", icon.attr("src").replace("list_open.png", "list_closed.png"));
          $(this).find(".expand_contract_action_label").text("Show ");
          
          content.hide();
          
        }
        else {                    
          icon.attr("src", icon.attr("src").replace("list_closed.png", "list_open.png"));
          $(this).find(".expand_contract_action_label").text("Hide ");
          content.show();
        }
        
        return false;
    });
    
    
});
;FI"dependency_digest;F"%b7c84f37c7854cea8cd52b8c66cbd0c0I"required_paths;F["R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.jsI"dependency_paths;F[{I"	path;F"R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.jsI"
mtime;FI"2012-02-29T14:11:58-05:00;FI"digest;F"%5f18fb6455cf4a76e7ef9001f72c508dI"
_version;F"%aa7d0db7619379e13b08335dee027df2

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
umlaut-3.0.0alpha13 ./test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7
umlaut-3.0.0alpha12 ./test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7