More Complete Tests

This commit is contained in:
Chinmay Pandhare
2017-06-25 11:40:18 +05:30
parent ba4863c201
commit 142cf2c18b
3 changed files with 71 additions and 16 deletions

View File

@@ -141,7 +141,9 @@ ImageSequencer = function ImageSequencer(options) {
if(args.length==1) {
if (objTypeOf(args[0])=="Object") { //removeSteps(JSON)
json_q = args[0];
for (img in args[0]) {
json_q[img] = makeArray(args[0][img]);
}
}
else { //removeSteps(index) => removeSteps([image],[index])
args.splice(0,0,[]);