Releases: albert-gonzalez/easytimer.js
Releases · albert-gonzalez/easytimer.js
2.0.1 Stop timer before trigger targetAchieved
Fixes
- Stop timer before trigger targetAchieved
2.0.0 Library Refactor bundled with Rollup + Babel
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
- Countdown Timer precision fixed. Solves the issue #19
Require should exist to be called
- Fix "require is not defined" in some cases like running tests with Karma (thanks to @herberttn !)
1.3.0 Reset Function Added
- Reset Function added
1.2.0 Counters updating improved
- 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
Removed postinstall from package.json
Fix hours counter
Fix hours counter (thanks to @avadh88 !!)
1.1.0 - TypeScript Support
TypeScript Support (Thanks to @alexdlm !)
Hours included in targets
v1.0.3 v1.0.3