Permalink
Browse files

fix doc grammar

  • Loading branch information...
1 parent fa91167 commit bdd4f5ae921fc336cec22843aa92d1af5c0b33d3 @mdonoughe committed Jun 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ros.js
View
2 ros.js
@@ -71,7 +71,7 @@ ros.Connection.prototype.publish = function(topic, typeStr, msg) {
this.socket.send(JSON.stringify({receiver:topic,msg:msg,type:typeStr}));
}
-// topic = topic to listen for. note that you must call /rosjs/subscribe first the event will never fire.
+// topic = topic to listen for. note that you must call /rosjs/subscribe first or the event will never fire.
// func = function(msg, ...) to call when a message is received.
// args = {
// context: context used when calling the callback. Defaults to the connection.

0 comments on commit bdd4f5a

Please sign in to comment.