Browse files

Make more sense

  • Loading branch information...
1 parent 07839f1 commit 4bc366d599ac8a826d9e3f4c46376f378ad9ec0f @sshirokov sshirokov committed Nov 9, 2009
Showing with 7 additions and 3 deletions.
  1. +7 −3 js/index.js
View
10 js/index.js
@@ -1,11 +1,15 @@
window.logs = new Logging(10);
var ready = function() {
+ //Params: path to container,
+ // relative path from container to what a row looks like
+ // seconds between refresh
+ // options object
logs.draw_some_latest("table#log", ".row", 10, {
- date: "%A%t g:i",
+ date: "%A%t g:i", //How to format a date, according to php.net/date
action: {
- prefix: "* ",
- attr: 'action'
+ prefix: "* ", //What to put in front of a nick performing a /me
+ attr: 'action' //Class to give the row of the /me
}
});
};

0 comments on commit 4bc366d

Please sign in to comment.