rem: function( exc ) { if (listener) { listener.onOperationComplete( this_.superCalendar, Components.results.NS_ERROR_FAILURE, SYNC, null, exc ); } this_.logError( exc ); 
add: function( wcapResponse ) { this_.syncChangesTo_resp( wcapResponse, syncState, listener, function( item ) { var dtCreated = item.getProperty("CREATED"); var bAdd = (dtCreated == null || dtFrom == null || dtCreated.compare(dtFrom) >= 0); modifiedItems.push( item.id ); if (bAdd) {   this_.log( "new item: " + item.id, "syncChangesTo_resp()" ); if (destCal) { syncState.acquire(); destCal.addItem( item, addItemListener ); } if (calObserver) calObserver.onAddItem( item ); } else { this_.log( "modified item: " + item.id, "syncChangesTo_resp()" ); if (destCal) { syncState.acquire(); destCal.modifyItem( item, null, modifyItemListener ); } if (calObserver) calObserver.onModifyItem( item, null ); } } ); 
context:             function( exc ) {                if (listener) {                    listener.onOperationComplete(                        this_.superCalendar,                        Components.results.NS_ERROR_FAILURE,                        SYNC, null, exc );                }                this_.logError( exc );            } );
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9484cd5028816c4e1bd9dd2ed1d9d090116e32ad/calWcapCalendarItems.js/clean/calendar/providers/wcap/calWcapCalendarItems.js