fullcalendar can now be initialized with no options (issue 1356)

This commit is contained in:
Adam Shaw
2013-08-31 21:36:39 -07:00
parent f26e9550f2
commit 3ed1474ef9
+2 -1
View File
@@ -27,7 +27,8 @@ $.fn.fullCalendar = function(options) {
}
return this;
}
options = options || {};
// would like to have this logic in EventManager, but needs to happen before options are recursively extended
var eventSources = options.eventSources || [];