Sha256: 3a9bab0e5dbdbd3821b5bb034f1c4c8471ea475372526360fe04927dfc7284e9

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@value{"asset_paths["R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.js"	body"{/* 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;
    });
    
    
});
"content_type"application/javascript"
class"BundledAsset"
mtime"2011-12-12T15:39:19-05:00"
_version"%46dde6621c301f4928e3b34efee9e3b5"id"%1639e6ef6d0636deef724cc488a6349d"dependency_paths[{"hexdigest"%9a7c36f797afffeb3ede9e68e312180b"
mtimeu:	Time
0"	path"R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.js"
pathname"R/home/rochkind/umlaut/app/assets/javascripts/umlaut/expand_contract_toggle.js"logical_path"%umlaut/expand_contract_toggle.js:@created_atf1325027173.7413449r2:@expires_in0

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
umlaut-3.0.0alpha2 test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7
umlaut-3.0.0alpha1 test/dummy/tmp/cache/assets/C5F/340/sprockets%2F99692920160b7a279b86a80415b79db7