Permalink
Browse files

[fix] emit connected event in lisenter

  • Loading branch information...
1 parent c7ba1d8 commit 5c8c3d4eff25a642f751af1dd64d18bc3eaebb6a @AndreasMadsen committed Feb 4, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/core/lisenter.js
View
@@ -109,6 +109,9 @@
communcation.handle.send('setup', [communcation.assignID, Object.keys(self.table)], function () {
communcation.emit('ready');
});
+
+ // emit connection
+ self.emit('connection', communcation);
});
};

0 comments on commit 5c8c3d4

Please sign in to comment.