We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c096ee commit 44e48f3Copy full SHA for 44e48f3
src/core/Ros.js
@@ -328,7 +328,7 @@ ROSLIB.Ros.decodeTypeDefs = function(type_defs) {
328
var array_len = the_type.fieldarraylen[i];
329
var field_name = the_type.fieldnames[i];
330
var field_type = the_type.fieldtypes[i];
331
- if (field_type.indexOf("/") === -1) { // check the field_type includes "/" or not
+ if (field_type.indexOf('/') === -1) { // check the field_type includes '/' or not
332
if (array_len == -1) {
333
type_def_dict[field_name] = field_type;
334
}
@@ -355,7 +355,7 @@ ROSLIB.Ros.decodeTypeDefs = function(type_defs) {
355
356
357
else {
358
- throw "cannot find " + field_type;
+ throw 'cannot find ' + field_type;
359
360
361
0 commit comments