Permalink
Browse files

send now return this

  • Loading branch information...
1 parent 451b441 commit b18bbb78281ccc748a5e3c6c50fbcfe6feb16ada @kilianc committed Jul 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/nssocket.js
View
@@ -106,6 +106,7 @@ NsSocket.prototype.send = function send(event, data, callback) {
}
this.stream.write(this.createMessage(event, data), callback)
+ return this
}
NsSocket.prototype.createMessage = function createMessage(event, data) {

0 comments on commit b18bbb7

Please sign in to comment.