jeromeetienne/tquery — pull request #182 by unconed (2012-07-18 12:18:12+00:00)
Title: Bug: Context, arguments missing in addEventListener/removeEventListener/dispatchEvent

The methods for addEventListener/removeEventListener/dispatchEvent forward to `destObj.bind/unbind/trigger()`. When destObj is a prototype, this means events are bound to the class, not the instance.

Additionally, dispatchEvent does not pass variable arguments along to .trigger().