diff --git a/composer.json b/composer.json index 47f74fe..9c4e174 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "styletools/lazy", - "version": "1.1.5", + "version": "1.1.6", "description": "A lightweight lazy loader based on `window.IntersectionObserver` with tiny fallback for old browsers.", "keywords": ["lazy", "images", diff --git a/dist/lazy+data-attr+polyfill+events.js b/dist/lazy+data-attr+polyfill+events.js index 014a23f..d32f840 100644 --- a/dist/lazy+data-attr+polyfill+events.js +++ b/dist/lazy+data-attr+polyfill+events.js @@ -1,4 +1,4 @@ -(function(b,p,q){function e(c,a,d){c&&"string"!=typeof c&&(c instanceof Array||c.selector)||(c=[c]);var b=c[0]||c.selector||"[data-src]",e=c[1]||c.threshold||c.observer,m=c[2]||c.rootMargin,f;e="object"==typeof e?e:{rootMargin:m||"0px",threshold:e||0};var k=c[4]||c.a||["click","mouseover"];if(a instanceof Array){var l=a[2];var n=a[1];a=a[0];n=n||a}a=a||function(a,c,b){b=a.getAttribute("data-srcset");c=a.getAttribute("data-src");b&&(a.srcset=b,a.removeAttribute("data-srcset"));c&&(a.src=c,a.removeAttribute("data-src")); -l&&l(a)};d=d||function(c,b){for(var d,e,f=0,r=c.length;f