An Open Sound Control (OSC) library for JavaScript that works in both the browser and Node.js
GNU General Public License v2.0
774
stars
117
forks
source link
Improve the factoring of the conditional loading of the serial port transport in Node.js #146
Closed
colinbdclark closed 5 years ago
As pointed out in https://github.com/colinbdclark/osc.js/issues/143#issuecomment-493659453, it's not valid to have a return statement outside of the context of a function. This code should be refactored.