candy-chat/candy — pull request #189 by rszabo (2013-09-09 06:37:18+00:00)
Title: Adds callback handler for Message events. 

Several plugins override Candy.View.Event.Message.onShow which is bad practice, primarily because only the last initiated plugin will run. This code introduces addCallback(fn) which can and should be used instead of assigning onShow.

Thank you.