osc: fix missing this before method call (#313)

This commit is contained in:
jean-emmanuel 2018-06-08 21:27:52 +02:00
parent 724c1fefc7
commit 7e73865fda

View file

@ -78,7 +78,7 @@ class OscServer {
return {type: arg ? 'T' : 'F', value: arg}
case 'object':
if (arg.type) {
return {type: parseType(arg.type), value: arg.value}
return {type: this.parseType(arg.type), value: arg.value}
} else {
return {type: 's', value:JSON.stringify(arg)}
}