xavi-js/xavi-client — pull request #14 by lipsmack (2014-02-26 14:59:03+00:00)
Title: No-ops binding non-callable event listeners

Attempting to bind to a non-function should always no-op, to prevent errors being thrown by `emit` and prevent unnecessary processing and memory usage.