Skip to content

API Update

Compare
Choose a tag to compare
@NathanGRomano NathanGRomano released this 28 Jul 18:02
· 9 commits to master since this release

The API has two new methods bound to the context of each handler

next() and end();

s.step('some step', function ($) {
  $.data = 'Some Data';
  this.next()
});
s.step('some other step', function ($) {
  console.log('finished!'); 
  this.end();
});