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:
Vibhor Gupta
2019-04-19 01:42:33 +05:30
committed by Jeffrey Warren
parent 84aede7bc3
commit ec40224831
6 changed files with 112 additions and 18 deletions

View File

@@ -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;
});
});