Skip to content

v2.1.0 - Changes to the API and bug fixes

Compare
Choose a tag to compare
@jylauril jylauril released this 10 Jul 15:56
· 62 commits to master since this release
  • The custom format function no longer gets the inbuilt formatter as a second parameter. You can access the runner's inbuilt formatter through $().runner.format.
  • The custom format function now gets the settings object as second parameter, which has the milliseconds -property that was given as 3rd parameter in the old version.
  • Added a way to stop the runner when calling reset method with a boolean true parameter.
  • Runner now fires a runnerFinish event after it reaches the stopAt value.
  • We now also fire a runnerReset event after the reset method is called.
  • Streamlined the other events to be more consistent.
    • runnerStarted is now runnerStart.
    • runnerStopped is now runnerStop.