Releases: adamcik/media-progress-timer
Releases · adamcik/media-progress-timer
v3.0.0
- Removed updateRate support from RAF mode and fallback mode.
- Added fallbackTargetFrameRate setting to the setTimeout mode.
- Use UMD loader pattern.
- Use clearTimeout and cancelAnimationFrame to stop timer.
- Stop triggering callback in set when timer is running. This avoids some unintended behaviours and makes the timer more well behaved.
v2.0.2
v2.0.1
v2.0.0
- Includes breaking API changes, the new external API is:
set(position, duration)
start()
stop()
reset()
- Unbreaks the
setTimeout
based fallbacks clock. - Adds checking or arguments, incorrect use should throw exceptions.
- Timer state has been moved to an object to allow for "atomic" updates.
duration
will now beInfinity
when counting forever.- Updated demo and README.
v1.1.1
v1.1.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
Based on http://jsfiddle.net/us0zschg/15/ which was used for prototyping most of the API and features.