rem: var ddprefix = ""; 
context: function ep_routeevent (e){    var count = 0;    var ddprefix = "";    this.currentEvent = e;            e.level = 0;    while (e.destObject)    {        e.level++;        this.onHook (e);        var destObject = e.destObject;        e.destObject = (void 0);        switch (typeof destObject[e.destMethod])        {            case "function":                try                {                    destObject[e.destMethod] (e);                }                catch (ex)                {                    dd ("Error routing event: " + ex.toSource());                }                if (count++ > this.MAX_EVENT_DEPTH)                    throw "Too many events in chain";                break;            case "undefined":                //dd ("** " + e.destMethod + " does not exist.");                break;            default:                dd ("** " + e.destMethod + " is not a function.");        }        if ((e.type != "event-end") && (!e.destObject))        {            e.lastSet = e.set;            e.set = "eventpump";            e.lastType = e.type;            e.type = "event-end";            e.destMethod = "onEventEnd";            e.destObject = this;        }    }    delete this.currentEvent;    return true;    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/48305e06e16d07f22f1ecd7c514c46dc358647ef/events.js/clean/extensions/irc/js/lib/events.js