make all JS (mostly tests) es3-compliant, because we care about testing in IE8

This commit is contained in:
Adam Shaw
2013-09-01 06:00:00 -07:00
parent 97ad608718
commit 315a3dc0b6
10 changed files with 26 additions and 22 deletions
+1 -1
View File
@@ -572,7 +572,7 @@ function AgendaView(element, calendar, viewName) {
var date = cellToDate(0, col);
var match = this.parentNode.className.match(/fc-slot(\d+)/); // TODO: maybe use data
if (match) {
var slotIndex = parseInt(match[1]);
var slotIndex = parseInt(match[1], 10);
date.add(minTime + slotIndex * slotDuration);
date = calendar.rezoneDate(date);
trigger(