Skip to content

Commit 44e48f3

Browse files
committed
" -> '
1 parent 4c096ee commit 44e48f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/Ros.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ ROSLIB.Ros.decodeTypeDefs = function(type_defs) {
328328
var array_len = the_type.fieldarraylen[i];
329329
var field_name = the_type.fieldnames[i];
330330
var field_type = the_type.fieldtypes[i];
331-
if (field_type.indexOf("/") === -1) { // check the field_type includes "/" or not
331+
if (field_type.indexOf('/') === -1) { // check the field_type includes '/' or not
332332
if (array_len == -1) {
333333
type_def_dict[field_name] = field_type;
334334
}
@@ -355,7 +355,7 @@ ROSLIB.Ros.decodeTypeDefs = function(type_defs) {
355355
}
356356
}
357357
else {
358-
throw "cannot find " + field_type;
358+
throw 'cannot find ' + field_type;
359359
}
360360
}
361361
}

0 commit comments

Comments
 (0)