rem: if (!aItem.alarmOffset && !(aItem.parentItem && aItem.parentItem.alarmOffset)) { return; }  
context:         onAddItem: function(aItem) {            if (!aItem.alarmOffset &&                !(aItem.parentItem && aItem.parentItem.alarmOffset)) {                return;            }            var occs = [];            if (aItem.recurrenceInfo) {                var start = this.alarmService.mRangeEnd.clone();                // We search 1 month in each direction for alarms.  Therefore,                // we need to go back 2 months from the end to get this right.                start.month -= 2;                start.normalize();                occs = aItem.recurrenceInfo.getOccurrences(start, this.alarmService.mRangeEnd, 0, {});            } else {                occs = [aItem];            }            for each (var occ in occs) {                this.alarmService.addAlarm(occ);            }        },
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8c1463788acc0c31a5ee4a6380b4e1228567f6fb/calAlarmService.js/clean/calendar/base/src/calAlarmService.js