mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-14 04:10:04 +01:00
More Complete Tests
This commit is contained in:
@@ -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,[]);
|
||||
|
||||
Reference in New Issue
Block a user