/usr/lib/ruby/vendor_ruby/assets/javascripts/rails-timeago.js is in ruby-rails-timeago 2.11.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | //
// jQuery Timeago bootstrap for rails-timeago helper
//
//= require jquery.timeago
(function($) {
$(document).on('ready page:load', function() {
$('time[data-time-ago]').timeago();
});
})(jQuery);
|