rem: aListener.onOperationComplete (this, 
add: aListener.onOperationComplete (this.calendarToReturn, 
context:     addItem: function (aItem, aListener) {        if (aItem.id == null && aItem.isMutable)            aItem.id = "uuid" + (new Date()).getTime();        if (aItem.id == null) {            if (aListener)                aListener.onOperationComplete (this,                                               Components.results.NS_ERROR_FAILURE,                                               aListener.ADD,                                               aItem.id,                                               "Can't set ID on non-mutable item to addItem");            return;        }        if (this.mItems[aItem.id] != null) {            // is this an error?            if (aListener)                aListener.onOperationComplete (this,                                               Components.results.NS_ERROR_FAILURE,                                               aListener.ADD,                                               aItem.id,                                               "ID already exists for addItem");            return;        }        var newItem = aItem.clone();        newItem.parent = this;        newItem.generation = 1;        newItem.makeImmutable();        this.mItems[newItem.id] = newItem;        // notify the listener        if (aListener)            aListener.onOperationComplete (this,                                           Components.results.NS_OK,                                           aListener.ADD,                                           newItem.id,                                           newItem);        // notify observers        this.observeAddItem(newItem);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/afdbb6f6647855b23a509e828210a2c316d36382/calMemoryCalendar.js/clean/calendar/providers/memory/calMemoryCalendar.js