Releases: mrchimp/tock
Releases · mrchimp/tock
v1.1.1
v1.0.8 - Fix invalid bower.json.
v1.0.7 - Bugfixes
WARNING: bower.json is invalid. Use 1.0.8 instead.
Use Mocha for testing.
Better time-string interpretation.
Better pause/stop-start handling.
v1.0.5
- 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 newstart()
argument pause()
updated with new logic- Added
msToTimecode()
method to convert milliseconds toHH:MM:SS
String - Modified
msToTime()
method to allow new argument formats likeHH:MM:SS
- Fixed up
stop()
so thatpause()
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!