Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ical.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
curr[name] = curr[name] || [];
var dates = val ? val.split(separatorPattern) : [];
dates.forEach(function (entry) {
var exdate = new Array();
var exdate = new Object();
dateParam(name)(entry, params, exdate);

if (exdate[name])
Expand Down Expand Up @@ -349,7 +349,7 @@

// If we don't have an array to store recurrences in yet, create it.
if (par[curr.uid].recurrences === undefined) {
par[curr.uid].recurrences = new Array();
par[curr.uid].recurrences = new Object();
}

// Save off our cloned recurrence object into the array, keyed by date but not time.
Expand Down