From 3ed1474ef9e9370edc98bf84734c332c373a64d2 Mon Sep 17 00:00:00 2001 From: Adam Shaw Date: Sat, 31 Aug 2013 21:36:39 -0700 Subject: [PATCH] fullcalendar can now be initialized with no options (issue 1356) --- src/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 74dc667..9790d94 100644 --- a/src/main.js +++ b/src/main.js @@ -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 || [];