Releases: clarketm/image-map
Releases · clarketm/image-map
v1.0.9
Performance Improvements
- Add debounce functionality to the resize event handler.
- Add polyfill for
NodeList.prototype.forEach()
.
v1.0.8
jquery
changed from a dependency -> peerDependency
- Update copyright year (2016 -> 2018)
- Update license from MIT to Apache-2.0
v1.0.6
Compatibility with ES6 default imports.
v1.0.5
Fix UMD module syntax and export
v1.0.4
- Conditionally check for jQuery (
$
).
v1.0.3
- Improved memory management using
addEventListener
with a named listener.
- Updates (e.g coordinates rerendering) are now handled using closures rather than creating a new
ImageMap
instance.
- Window
resize
event is bound to the ImageMap
instance and automatically disposed of on rebind.
v1.0.2
- rectify
window
& document
check at module initialization
- move resize listener to
ImageMap
module definition