rem: aListener.onGetResult(self, 
add: aListener.onGetResult(self.superCalendar, 
context:         function queueItems(theItems, theIID) {            // if we're about to start sending a different IID,            // flush the queue            if (theIID && queuedItemsIID != theIID) {                if (queuedItemsIID)                    queueItems(null);                queuedItemsIID = theIID;            }            if (theItems)                queuedItems = queuedItems.concat(theItems);            if (queuedItems.length != 0 && (!theItems || queuedItems.length > maxQueueSize)) {                //var listenerStart = Date.now();                aListener.onGetResult(self,                                      Components.results.NS_OK,                                      queuedItemsIID, null,                                      queuedItems.length, queuedItems);                //var listenerEnd = Date.now();                //dump ("++++ listener callback took: " + (listenerEnd - listenerStart) + " ms\n");                queuedItems = [ ];            }        }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/55570678242646ac6b381fe29963ff1a57c74bc4/calStorageCalendar.js/clean/calendar/providers/storage/calStorageCalendar.js