mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-14 04:10:04 +01:00
Parse info.json to set module defaults (#650)
* changes * changes * changes * changes * changes * changes
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
*/
|
||||
module.exports = function Channel(options, UI) {
|
||||
|
||||
options.channel = options.channel || "green";
|
||||
var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
|
||||
|
||||
options.channel = options.channel || defaults.channel;
|
||||
|
||||
var output;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user