there's a "this." missing in the following method (in listener.js)

DynObject.prototype.removeEventListener=function(listener) {
    Methods.removeFromArray(this.eventListeners, listener, false);
    if (eventListeners.length==0) {      // <= this line!!
        this.hasEventListeners=false;
    }
}

should be:
    if (this.eventListeners.length==0) {
        ^^^^^^

--
Michael Buerge


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to