mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-06 13:10:47 +08:00
note to self about array event sources
This commit is contained in:
@@ -81,6 +81,8 @@ function EventManager(options, _sources) {
|
||||
if (source.eventTransform) {
|
||||
events = $.map(events, source.eventTransform);
|
||||
}
|
||||
// TODO: this technique is not ideal for static array event sources.
|
||||
// For arrays, we'll want to process all events right in the beginning, then never again.
|
||||
|
||||
for (var i=0; i<events.length; i++) {
|
||||
events[i].source = source;
|
||||
|
||||
Reference in New Issue
Block a user