Skip to content

v1.0.5

Compare
Choose a tag to compare
@mrchimp mrchimp released this 11 Jan 15:50
· 38 commits to master since this release
  • Removed unused var elapsed. Fixes #17

Updates from ejvaudio

  • Greatly improved time argument to start(). Now it accepts various time format strings or just plain illiseconds
  • Modified _startTimer() method to handle new start() argument
  • pause() updated with new logic
  • Added msToTimecode() method to convert milliseconds to HH:MM:SS String
  • Modified msToTime() method to allow new argument formats like HH:MM:SS
  • Fixed up stop() so that pause() works
  • Added sanity check for timeToMS to return 0 with unrecognized input

Updates from ydaniv

  • Refactor Tock to an OO implementation
  • Fixed misuse of this inside _tick() which contaminated global namespace
  • Remove unused end_time var
  • Fixed double timeout setting and missing of first tick
  • Fixed callback called twice on countdown last tick

Thanks to all contributors!