Skip to content

Releases: albert-gonzalez/easytimer.js

2.0.1 Stop timer before trigger targetAchieved

25 Jan 19:34
Compare
Choose a tag to compare

Fixes

  • Stop timer before trigger targetAchieved

2.0.0 Library Refactor bundled with Rollup + Babel

30 Sep 14:41
Compare
Choose a tag to compare

Changes

  • Library refactored using ES6 features and bundled with Rollup + Babel
  • Refactored the method for detecting that the target is achieved

Breaking Changes

  • The callback function now receives the timer and not the counter. Check out the examples to see the new way of using it.

Countdown Timer precision fixed

25 Sep 09:29
Compare
Choose a tag to compare
  • Countdown Timer precision fixed. Solves the issue #19

Require should exist to be called

16 Sep 16:57
Compare
Choose a tag to compare
  • Fix "require is not defined" in some cases like running tests with Karma (thanks to @herberttn !)

1.3.0 Reset Function Added

11 Sep 18:10
Compare
Choose a tag to compare
  • Reset Function added

1.2.0 Counters updating improved

10 Sep 21:39
Compare
Choose a tag to compare
  • Counters updating now uses absolute values, fixing the problem of desynchronization when the timer is working on a browser's background tab.
  • dispatchEvent now includes a data object with the timer.

Removed postinstall

20 Jul 09:24
Compare
Choose a tag to compare

Removed postinstall from package.json

Fix hours counter

20 Jul 09:08
Compare
Choose a tag to compare

Fix hours counter (thanks to @avadh88 !!)

1.1.0 - TypeScript Support

17 Apr 20:27
Compare
Choose a tag to compare

TypeScript Support (Thanks to @alexdlm !)

Hours included in targets

01 Feb 21:58
Compare
Choose a tag to compare