metajack/strophejs-plugins — pull request #90 by jcbrand (2012-12-10 16:05:33+00:00)
Title: Don't put handlers and roster on the prototype

We want to be able to specify a separate handler per XmppRoom obj.

For example, if you are using an MVC-like framework (such as backbone.js) you
can have a separate Model object per chatroom, and therefore a different
handler for each XmppRoom obj.