rem: if (iListener != null) { iListener.onOperationComplete( 
add: if (listener != null) { listener.onOperationComplete( 
context: calWcapCalendar.prototype.deleteItem_resp = function(    wcapResponse, item, iListener ){    try {        var xml = wcapResponse.data; // first statement, may throw                // xxx todo: need to notify about each deleted item if multiple?        if (item.isMutable) {            item.makeImmutable();        }        if (iListener != null) {            iListener.onOperationComplete(                this.superCalendar, Components.results.NS_OK,                Components.interfaces.calIOperationListener.DELETE,                item.id, item );        }        this.notifyObservers( "onDeleteItem", [item] );        if (LOG_LEVEL > 0) {            this.log( "deleteItem_resp(): " +                      getWcapRequestStatusString(xml) );        }    }    catch (exc) {        if (iListener != null) {            iListener.onOperationComplete(                this.superCalendar, Components.results.NS_ERROR_FAILURE,                Components.interfaces.calIOperationListener.DELETE,                item.id, exc );        }        this.notifyError( exc );    }};
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6168148e3af766cf9f60943f1ac85670a168fc9e/calWcapCalendarItems.js/clean/calendar/providers/wcap/calWcapCalendarItems.js