repository_files.js revision 8ec575832389c2588f0b5ca1f1dd2cc42d62eb12
$(function() {
// Render last commit, for better performance
var table = $(".file-table");
$.ajax({
type: "GET",
dataType: "json",
data: {
}
table.find("tr[data-id="+key+"] td.last-modified").html('<span class="timestamp">'+value.committer_time+'</span>').relatizeTimestamps();
var html = '<span class="message">'
html += '</span>';
});
$(".file-table tr td.last-commit .message").truncate({
width: 400,
token: '…'
});
});
}
});