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