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:
@@ -8,7 +8,8 @@
|
||||
*/
|
||||
module.exports = function ImportImageModule(options, UI) {
|
||||
|
||||
options.imageUrl = options.url || "./images/monarch.png";
|
||||
var defaults = require('./../../util/getDefaults.js')(require('./info.json'));
|
||||
options.imageUrl = options.url || defaults.url;
|
||||
|
||||
var output,
|
||||
imgObj = new Image();
|
||||
|
||||
Reference in New Issue
Block a user