test/dummy/tmp/cache/assets/D1D/D50/sprockets%2F5b87bedce3ae871f14e41e2479290866 in speedo-0.0.7 vs test/dummy/tmp/cache/assets/D1D/D50/sprockets%2F5b87bedce3ae871f14e41e2479290866 in speedo-0.0.8
- old
+ new
@@ -1,21 +1,35 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1332881567.2204399 :@value{I"
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1334932882.711879 m:@value{I"
class:EFI"BundledAsset;
FI"id;
-F"%26996f81ac5c21633d7b9b65f468786cI"logical_path;
+F"%01f3ce985e82f57d2f5ffad32395c626I"logical_path;
FI"swim.js;
FI"
pathname;
FI"0$root/app/assets/javascripts/swim.js.coffee;
FI"content_type;
FI"application/javascript;
FI"
mtime;
-FI"2012-03-27T16:52:28-04:00;
+FI"2012-04-20T10:41:17-04:00;
FI" body;
-FI"6(function() {
+FI" (function() {
$(function() {
+ var setTimeAgoInWords;
+ setTimeAgoInWords = function() {
+ return $('.ago').each(function() {
+ var date, t;
+ t = $(this);
+ if (t.attr('datetime')) {
+ date = new Date(t.attr('datetime'));
+ t.attr('title', date.toString());
+ return t.text(date.timeAgoInWords() + ' ago');
+ }
+ });
+ };
+ setTimeAgoInWords();
+ setInterval(setTimeAgoInWords, 10000);
$('.popup').livequery(function() {
return $(this).fancybox({
overlayColor: "#fff",
transitionIn: "none",
transitionOut: "none",
@@ -25,10 +39,16 @@
if (title === '') return;
return '<h3 class="popup-title">' + title + '</h3>';
}
});
});
+ $('time.ago').livequery(function() {
+ return $(this).timeago();
+ });
+ $('.button').click(function() {
+ return $('.col2').append('<time datetime="2012-04-17" class="ago">xc</time>');
+ });
$('#fancybox-content .close').live('click', function(e) {
e.preventDefault();
return $.fancybox.close();
});
$('input[type="date"]').livequery(function() {
@@ -85,10 +105,9 @@
FI"dependency_paths;
F[{I" path;
FI"0$root/app/assets/javascripts/swim.js.coffee;
FI"
mtime;
-FIu: Time
t[
-:@_zoneI"EDT;
-T:
nano_numi:
nano_deni:
submicro"#`:offsetiI"hexdigest;
-F"%b17aa8eab8ed05e8c200ab90c43e1e46I"
_version;
+FIu: Time
:@_zoneI"EDT;
+T:offsetiI"hexdigest;
+F"%9b072f6ef7e1db5d366181abc16c99bdI"
_version;
F"%46dde6621c301f4928e3b34efee9e3b5
\ No newline at end of file