Updated Readme, bugfixes

This commit is contained in:
Chinmay Pandhare
2017-06-16 21:27:40 +05:30
parent 1b67d52a96
commit f13da0fb19
4 changed files with 24 additions and 12 deletions

View File

@@ -2,10 +2,10 @@ console.log('\x1b[31m%s\x1b[0m',"This is the output of the module");
require('./src/ImageSequencer');
sequencer = ImageSequencer();
sequencer.loadImages({red:'examples/red.jpg'},function(){
sequencer.addSteps(['do-nothing','do-nothing-pix','do-nothing','do-nothing']);
sequencer.addSteps(['do-nothing','do-nothing-pix','do-nothing','do-nothing']);
sequencer.addSteps(['do-nothing','do-nothing','do-nothing']);
sequencer.run();
sequencer.removeSteps(1);
sequencer.insertSteps(1,'do-nothing');
sequencer.insertSteps(-1,'do-nothing');
sequencer.insertSteps({
red: [{index: -1, name: 'do-nothing', o:{}}]
});
});