node-dmx / dmx

DMX controller library for node.js
MIT License
297 stars 95 forks source link

update example conf to valid json #10

Closed rolandboon closed 7 years ago

rolandboon commented 9 years ago

Hi, your example web config file did not contain valid JSON. So I've updated it.

wiedi commented 9 years ago

Thanks for your contribution!

The reason why the example config is a js module and not json is that json does not support comments. Do you think the module.exports = {} syntax is too confusing? How would you demonstrate the optional support for dropping privileges?

wiedi commented 7 years ago

this has been solved in https://github.com/wiedi/node-dmx/commit/3e88846b550c05b5a2228a09f2980429aee95159 which kept the comments.