final touches and bugfixes for 1.4.9

This commit is contained in:
Adam Shaw 2010-11-19 22:45:44 -08:00
parent 6931c875e7
commit 61d663d461
13 changed files with 228 additions and 208 deletions

View file

@ -45,11 +45,12 @@ function EventManager(options, sources) {
function fetchEvents(start, end) {
rangeStart = start;
rangeEnd = end;
currentFetchID++;
cache = [];
pendingSourceCnt = sources.length;
for (var i=0; i<sources.length; i++) {
fetchEventSource(sources[i], currentFetchID);
var fetchID = ++currentFetchID;
var len = sources.length;
pendingSourceCnt = len;
for (var i=0; i<len; i++) {
fetchEventSource(sources[i], fetchID);
}
}