merged speedups, fixed resulting eventRender and eventMouseover bugs

This commit is contained in:
Adam Shaw
2010-01-26 23:58:43 -08:00
parent 7158fc3470
commit 87f4ace780
5 changed files with 92 additions and 93 deletions
+3 -3
View File
@@ -4,8 +4,7 @@
var DAY_MS = 86400000,
HOUR_MS = 3600000,
MINUTE_MS = 60000,
arrayPop = Array.prototype.pop; // for eachLeaf
MINUTE_MS = 60000;
function addYears(d, n, keepTime) {
d.setFullYear(d.getFullYear() + n);
@@ -425,7 +424,8 @@ function HoverMatrix(changeCallback) {
-----------------------------------------------------------------------------*/
var undefined,
dayIDs = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'];
dayIDs = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat'],
arrayPop = Array.prototype.pop;
function zeroPad(n) {
return (n < 10 ? '0' : '') + n;