mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-16 05:10:00 +01:00
Close parenthesis fix (#580)
* close parenthesis fix * possible map fix * remove ending parenthesis when passing options
This commit is contained in:
committed by
Jeffrey Warren
parent
e7fbada71e
commit
df09cf62d0
@@ -105,7 +105,7 @@ module.exports = function(steps, modulesInfo, addSteps, copy) {
|
||||
stepSettings = stepSettings.split('|').reduce(function formatSettings(accumulator, current, i) {
|
||||
var settingName = current.substr(0, current.indexOf(':')),
|
||||
settingValue = current.substr(current.indexOf(':') + 1);
|
||||
settingValue = settingValue.replace(/^\(/, '').replace(/\)$/, ''); // strip () at start/end
|
||||
settingValue = settingValue.replace(/^\(/, ''); // strip () at start/end
|
||||
settingValue = settingValue.replace(/^\{/, '').replace(/\}$/, ''); // strip {} at start/end
|
||||
settingValue = decodeURIComponent(settingValue);
|
||||
current = [
|
||||
|
||||
Reference in New Issue
Block a user