2.2.1 release!
This is a small bugfix release:
- #38 was fixed. In some cases, use of
MutationObserver
was not reloading images in some SPA scenarios. - An unlogged bug was discovered where Safari would download unnecessary assets because yall was setting
src
attributes beforesrcset
attributes, causing Safari to get thesrc
-referenced resource first. This could be side-stepped by specifying an attribute order ofdata-srcset
first, thendata-src
. yall'sdata-
attribute flipping function was refactored to fix this. - Slightly smaller build size.