rem: for (var i = 0; i < this._listeners.length; i++) { this._listeners[i].onAddMany(); } 
add: this._fire("onAddMany", []); 
context: Timeline.DefaultEventSource.prototype.loadXML = function(xml, url) {    var base = this._getBaseURL(url);        var dateTimeFormat = xml.documentElement.getAttribute("date-time-format");    var parseDateTimeFunction = this._events.getUnit().getParser(dateTimeFormat);    var node = xml.documentElement.firstChild;    var added = false;    while (node != null) {        if (node.nodeType == 1) {            var description = "";            if (node.firstChild != null && node.firstChild.nodeType == 3) {                description = node.firstChild.nodeValue;            }            var evt = new Timeline.DefaultEventSource.Event(                parseDateTimeFunction(node.getAttribute("start")),                parseDateTimeFunction(node.getAttribute("end")),                parseDateTimeFunction(node.getAttribute("latestStart")),                parseDateTimeFunction(node.getAttribute("earliestEnd")),                node.getAttribute("isDuration") != "true",                node.getAttribute("title"),                description,                this._resolveRelativeURL(node.getAttribute("image"), base),                this._resolveRelativeURL(node.getAttribute("link"), base),                this._resolveRelativeURL(node.getAttribute("icon"), base),                node.getAttribute("color"),                node.getAttribute("textColor")            );            evt._node = node;            evt.getProperty = function(name) {                return this._node.getAttribute(name);            };                        this._events.add(evt);                        added = true;        }        node = node.nextSibling;    }    if (added) {        for (var i = 0; i < this._listeners.length; i++) {            this._listeners[i].onAddMany();        }    }};
meta: 6925	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6925/f317925303af45830955260c944c12ef9dbec19a/sources.js/buggy/src/main/webapp/api/scripts/sources.js