lightstring
lightstring copied to clipboard
XMPP client library for browsers.
XML parsing errors aren't caught
eg: new JID(['local', 'domain', 'resource']); new JID('local', 'domain', 'resource');
When I tried to use lightstring.js file in my project, I found out that BOSH transport wasn't concatenated alongside with other js files.
It seems that instances of Connection class have no method 'on' ``` var connection = new Lightstring.Connection('') connection.on('connect') TypeError: Object # has no method 'on' ```
https://developer.mozilla.org/en-US/docs/DOM/TCPSocket https://bugzilla.mozilla.org/show_bug.cgi?id=733573