mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-16 21:29:58 +01:00
Detect and Parse string separated module names (#787)
* detecting and parsing string separated module names * test fix * parsing multiple input methods * travis fix * test cases * requested changes made * test fix * rebase and fix conflicts
This commit is contained in:
committed by
Jeffrey Warren
parent
84aede7bc3
commit
ec40224831
@@ -42,7 +42,11 @@ function ReplaceImage(ref,selector,steps,options) {
|
||||
|
||||
function make(url) {
|
||||
tempSequencer.loadImage(url, function(){
|
||||
this.addSteps(steps).run({stop:function(){}},function(out){
|
||||
// this.addSteps(steps).run({stop:function(){}},function(out){
|
||||
var sequence = this.addSteps(steps)
|
||||
if (ref.detectStringSyntax(steps))
|
||||
sequence = this.stringToSteps(steps)
|
||||
sequence.run({stop:function(){}},function(out){
|
||||
img.src = out;
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user