rem: } ); 
add: if (calObserver) calObserver.onDeleteItem( item ); } else {   var parent = item.parentItem.clone(); parent.recurrenceInfo.removeOccurrenceAt( item.recurrenceId ); this_.log( "modified parent: " + parent.id ); if (destCal) { syncState.acquire(); destCal.modifyItem( parent, item, deleteItemListener ); } if (calObserver) calObserver.onModifyItem( parent, item ); } } ); 
context:                         function( item ) {                            var dtCreated = item.getProperty("CREATED");                            var bAdd = (dtCreated == null ||                                        dtCreated.compare(dtFrom) >= 0);                            modifiedItems.push( item.id );                            if (bAdd) {                                // xxx todo: verify whether exceptions                                //           have been written                                this_.log( "new item: " + item.id );                                if (destCal) {                                    syncState.acquire();                                    destCal.addItem( item, addItemListener );                                }                                if (calObserver)                                    calObserver.onAddItem( item );                            }                            else {                                this_.log( "modified item: " + item.id );                                if (destCal) {                                    syncState.acquire();                                    destCal.modifyItem( item, null,                                                        modifyItemListener );                                }                                if (calObserver)                                    calObserver.onModifyItem( item, null );                            }                        } );
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6e5b7b6b63e426af0a8da58dcbbcaad72a08e026/calWcapCalendarItems.js/clean/calendar/providers/wcap/calWcapCalendarItems.js