Sha256: 2613cf66eadc1165469631c372920b6bc9a7c9ea1faaa85675dbe05188ee9869
Contents?: true
Size: 1.75 KB
Versions: 4
Compression:
Stored size: 1.75 KB
Contents
{I" class:ETI"ProcessedAsset; 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"%e3e3ef6a63890591ee15439ffe9aa295; 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"dependency_digest; TI"%8f0b2d38ec9abd87367ee270b57248f4; FI"required_paths; T[I"Y/Users/tony/src/resque-web/app/assets/javascripts/resque_web/relative_date.js.coffee; FI"dependency_paths; T[{I" path; TI"Y/Users/tony/src/resque-web/app/assets/javascripts/resque_web/relative_date.js.coffee; FI" mtime; TI"2014-03-24T14:29:21+09:00; TI"digest; TI"%4c31a9157d74b9e935704a7dcd26f27f; FI" _version; TI"%1005ed9f20e25fb0a0599a7017dd0e6b; F
Version data entries
4 entries across 2 versions & 1 rubygems