mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 20:00:05 +01:00
Parse info.json to set module defaults (#650)
* changes * changes * changes * changes * changes * changes
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
module.exports = function Dynamic(options, UI, util) {
|
||||
|
||||
options.x = options.x || 0;
|
||||
options.y = options.y || 0;
|
||||
var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
|
||||
options.x = options.x || defaults.x;
|
||||
options.y = options.y || defaults.y;
|
||||
|
||||
var output;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user