blob: 7cec8d1907a1498b38ff502903307fd661399bbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
//= require _html-autoload
$(function() {
var format_tweet = function() {
$("time").text(new Date($("time").attr("datetime")).toLocaleString());
};
$.autopager({
content: $(".tweets"),
link: $("link[rel=next]"),
onStart: function() {
$(".loading").show();
},
onComplete: function() {
$(".loading").hide();
format_tweet();
}
});
format_tweet();
});
|