1
0
mirror of https://github.com/moparisthebest/kaiwa synced 2024-11-22 09:12:19 -05:00

Remove postmessage experiment

This commit is contained in:
Lance Stout 2013-08-29 23:50:24 -07:00
parent 93f1a30e67
commit 3ec2805cd9

View File

@ -48,16 +48,8 @@ module.exports = function (client, app) {
client.on('*', function (name, data) {
log(name, data);
if (data && data.toJSON) {
var msg = data.toJSON();
window.postMessage(JSON.stringify(msg), '*');
}
});
//client.on('disconnected', function () {
// client.connect();
//});
client.on('session:started', function (jid) {
me.jid = jid;