Change calendar.setup to return reference
Brought to you by:
mishoo
I modified my calendar-setup.js on line 149 from:
return false;
to:
return cal;
So this way I can reference my calendar created by setup method, like this:
referenceToMyCal = Calendar.setup( ...
I suggest this change on official version, because return false just does nothing, and return the reference don't harm the rest of script.