Mine
public javascript v1 · immutable disableVoteContainer = function() { this.sendJS('localhost'); Event.stopObserving(voteYes, 'click', disableVoteContainerListener); Event.stopObserving(voteNo, 'click', disableVoteContainerListener); } ; disableVoteContainerListener = disableVoteContainer.bindAsEventListener(this); Event.observe(voteYes, 'click', disableVoteContainerListener); Event.observe(voteNo, 'click', disableVoteContainerListener);