Skip to content

Commit

Permalink
fix doc grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
mdonoughe committed Jun 9, 2011
1 parent fa91167 commit bdd4f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros.js
Expand Up @@ -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.
Expand Down

0 comments on commit bdd4f5a

Please sign in to comment.