Difference between revisions of "Template:Waterloo/Pages/cal-heatmap-test"

Line 21: Line 21:
 
onClick: function(date, nb) {
 
onClick: function(date, nb) {
 
$("#onClick-placeholder").html("<b>" +
 
$("#onClick-placeholder").html("<b>" +
date + "</b> <br/>with <b>" +
+
date.toDateString() + "</b>"
(nb === null ? "unknown" : nb)
+
 
);
 
);
 
}
 
}

Revision as of 22:47, 13 September 2015