grab jQuery.timeago lib with composer
This commit is contained in:
@ -1,9 +1,8 @@
|
||||
/*jshint bitwise:false, curly:true, eqeqeq:true, evil:true, forin:false, noarg:true, noempty:true, nonew:true, undef:false, strict:false, browser:true */
|
||||
|
||||
// Adding jQuery ui stuff
|
||||
$(document).ready(function() {
|
||||
var dayMS = 1000 * 60 * 60 * 24;
|
||||
jQuery.timeago.settings.cutoff = 365 * dayMS;
|
||||
/** Setup jQuery.timeago **/
|
||||
jQuery.timeago.settings.cutoff = 365 * 24 * 60 * 60 * 1000; // Display original dates older than 1 year
|
||||
$("time").timeago();
|
||||
|
||||
$("TABLE.sortable").tablesorter();
|
||||
|
Reference in New Issue
Block a user