osc: fix overquoting strings in sent messages
This commit is contained in:
parent
52736e1f4b
commit
426705d13e
1 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ var parseArg = function(arg,precision){
|
|||
if (arg.type) {
|
||||
return {type: parseType(arg.type), value: arg.value}
|
||||
}
|
||||
case 'string':
|
||||
return {type: 's', value:arg}
|
||||
default:
|
||||
return {type: 's', value:JSON.stringify(arg)}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue