Sha256: 85f1726aed418282aa7cbe264f37de75872d72f02c0b407c9e720053e6ce1b2f
Contents?: true
Size: 1.43 KB
Versions: 4
Compression:
Stored size: 1.43 KB
Contents
{I" class:ETI"BundledAsset; FI"logical_path; TI" resque_web/relative_date.js; FI" pathname; TI"Y/Users/tony/src/resque-web/app/assets/javascripts/resque_web/relative_date.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+±Â/SI"length; TiÚI"digest; TI"%b63c0152fee7dd4b38c6ebdb18cc5784; FI"source; TI"Ú(function() { jQuery(function() { var format_toggler, relatizer; relatizer = function() { var dt, relatized; dt = $(this).text(); $(this).relativeDate(); relatized = $(this).text(); if ($(this).parents("a").size() > 0 || $(this).is("a")) { $(this).relativeDate(); if (!$(this).attr("title")) { return $(this).attr("title", dt); } } else { return $(this).html("<a href='#'' class='toggle_format' title='" + dt + "'>\n <span class='date_time'>" + dt + "</span>\n <span class='relatized_time'>" + relatized + "</span>\n</a>"); } }; format_toggler = function(e) { e.preventDefault(); $(".time a.toggle_format span").toggle(); return $(this).attr("title", $("span:hidden", this).text()); }; $(".time").each(relatizer); $(".time a.toggle_format .date_time").hide(); return $(".time").on("click", "a.toggle_format", format_toggler); }); }).call(this); ; TI"required_assets_digest; TI"%045bf709eb402948fe813591b69dfb3f; FI" _version; TI"%a56df69ef97ba4d9f1a23bf9b0add58a; F
Version data entries
4 entries across 2 versions & 1 rubygems