These docs are for an old release. Info on upgrading to v5
edit doc

Calendar::addEventSource

Dynamically adds an event source.

calendar.addEventSource( source )

Source may be an Array/URL/Function just as in the events option. Events will be immediately fetched from this source and placed on the calendar.