osc: fix overquoting strings in sent messages

This commit is contained in:
jean-emmanuel 2017-02-03 22:28:40 +01:00
parent 52736e1f4b
commit 426705d13e

View file

@ -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)}
}