rem: var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEventDisplay);  var EventObject = new Object;  EventObject.event = tmpevent.event;  EventObject.displayDate = displayDate; EventObject.displayEndDate = displayEndDate;  eventDisplays[ eventDisplays.length ] = EventObject; 
add: eventDisplays[ eventDisplays.length ] = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEventDisplay);; 
context: CalendarEventDataSource.prototype.getNextEvents = function calEvent_getNextEvents( EventsToGet ){   var eventDisplays =  new Array();      var today = new Date();      var eventList = this.gICalLib.getNextNEvents( today, EventsToGet );      while( eventList.hasMoreElements() )   {      var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEventDisplay);            var EventObject = new Object;            EventObject.event = tmpevent.event;            EventObject.displayDate = displayDate;      EventObject.displayEndDate = displayEndDate;            eventDisplays[ eventDisplays.length ] = EventObject;   }   eventDisplays.sort( this.orderRawEventsByDate );   return eventDisplays;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/007d2ff004d559e285d75e667599ac54f631113c/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js