Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 6 additions and 6 deletions.
  1. +6 −6 news.arc
View
12 news.arc
@@ -402,13 +402,13 @@
(gen-css-url)
(prn "<link rel=\"shortcut icon\" href=\"" favicon-url* "\">")
(tag script (pr votejs*))
- (tag script (pr agesjs*))
(tag title (pr ,title)))
(tag body
(center
(tag (table border 0 cellpadding 0 cellspacing 0 width "85%"
bgcolor sand)
- ,@body)))))
+ ,@body)))
+ (tag script (pr agesjs*))))
(= pagefns* nil)
@@ -566,13 +566,13 @@ function updateAges() {
function textAge(minutes) {
if(minutes >= 1440) {
- return plural('day', Math.floor(minutes / 1440));
+ return plural('day', Math.floor(minutes / 1440)) + ' ago';
}
else if(minutes >= 60) {
- return plural('hour', Math.floor(minutes / 60));
+ return plural('hour', Math.floor(minutes / 60)) + ' ago';
}
else {
- return plural('minute', minutes);
+ return plural('minute', minutes) + ' ago';
}
}
@@ -588,7 +588,7 @@ function updateAges() {
setTimeout(updateAges, 1000);
}
-setTimeout(updateAges, 0);
+updateAges();
" )

No commit comments for this range

Something went wrong with that request. Please try again.