rem: for (var i=0; i<aCount; i++) { var item = aItems[i]; calComp.addSubcomponent(item.icalComponent); var rec = item.recurrenceInfo; if (rec != null) { var exceptions = rec.getExceptionIds({}); for each ( var exid in exceptions ) { var ex = rec.getExceptionFor(exid, false); if (ex != null) { calComp.addSubcomponent(ex.icalComponent); } } } } 
add: this.serializer.addItems(aItems, aCount); 
context:             onGetResult: function(aCalendar, aStatus, aItemType, aDetail, aCount, aItems)            {                for (var i=0; i<aCount; i++) {                    var item = aItems[i];                    calComp.addSubcomponent(item.icalComponent);                    var rec = item.recurrenceInfo;                    if (rec != null) {                        var exceptions = rec.getExceptionIds({});                        for each ( var exid in exceptions ) {                            var ex = rec.getExceptionFor(exid, false);                            if (ex != null) {                                calComp.addSubcomponent(ex.icalComponent);                            }                        }                    }                }            }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10234/caddb2ec4e4e6a2735f363bd9a1da951dce03167/calICSCalendar.js/buggy/calendar/providers/ics/calICSCalendar.js