Skip to content

Commit 5d060fb

Browse files
committed
definining decodeTypeDefs under prototype
1 parent 34f15c4 commit 5d060fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Ros.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ ROSLIB.Ros.prototype.getMessageDetails = function(message, callback) {
316316
* Encode a typedefs into a dictionary like `rosmsg show foo/bar`
317317
* @param type_defs - array of type_def dictionary
318318
*/
319-
ROSLIB.Ros.decodeTypeDefs = function(type_defs) {
319+
ROSLIB.Ros.prototype.decodeTypeDefs = function(type_defs) {
320320
var typeDefDict = {};
321321
var theType = type_defs[0];
322322

0 commit comments

Comments
 (0)