|
|
@@ -143,10 +143,12 @@ function EventManager() { // assumed to be a calendar
|
|
|
|
|
|
if (pendingSourceCnt) {
|
|
|
return Promise.construct(function(resolve) {
|
|
|
+ console.log(eventDefCollection);
|
|
|
t.one('eventsReceived', resolve);
|
|
|
});
|
|
|
}
|
|
|
else { // executed all synchronously, or no sources at all
|
|
|
+ console.log(eventDefCollection);
|
|
|
return Promise.resolve(cache);
|
|
|
}
|
|
|
}
|