rem: return eventArray; 
add: return this.currentEvents; 
context: CalendarEventDataSource.prototype.getAllEvents = function calEvent_getAllEvents( ){   // clone the array in case the caller messes with it      var eventList = this.gICalLib.getAllEvents();   var eventArray = new Array();      while( eventList.hasMoreElements() )   {      var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEvent);            eventArray[ eventArray.length ] = tmpevent;   }   eventArray.sort( this.orderRawEventsByDate );   return eventArray;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b94e5a082c63475c343bf6529fcc40597a88b4bc/calendarEvent.js/buggy/calendar/resources/content/calendarEvent.js