Sha256: de72169dfb2f7bba35557ee719551cfba9b61be6901b190ecf2be8647504c07a
Contents?: true
Size: 1.66 KB
Versions: 3
Compression:
Stored size: 1.66 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1325695617.916621:@value{I" class:EFI"BundledAsset; FI"id; F"%742ae9e3db24ddeb5c807914bde33141I"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"2011-12-12T15:39:19-05:00; FI" body; 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"asset_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; FIu: Time 0:@_zoneI"EST; T:offsetiI"hexdigest; F"%9a7c36f797afffeb3ede9e68e312180bI" _version; F"%46dde6621c301f4928e3b34efee9e3b5
Version data entries
3 entries across 3 versions & 1 rubygems