mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 11:50:02 +01:00
Parse info.json to set module defaults (#650)
* changes * changes * changes * changes * changes * changes
This commit is contained in:
@@ -5,7 +5,8 @@ module.exports = function Ndvi(options, UI) {
|
||||
|
||||
if (options.step.inBrowser) var ui = require('./Ui.js')(options.step, UI);
|
||||
|
||||
options.filter = options.filter || "red";
|
||||
var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
|
||||
options.filter = options.filter || defaults.filter;
|
||||
|
||||
var output;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user