From e5b762c685dc440011791bc3b5f50703cd6b2e18 Mon Sep 17 00:00:00 2001 From: optimalisatie Date: Sun, 7 Jul 2019 14:09:34 +0000 Subject: [PATCH] 1.0.1 --- README.md | 2 +- dist/lazy+polyfill.js | 2 +- dist/lazy-data-attr+polyfill.js | 2 +- src/lazy-async-polyfill.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0420c02..deb17a8 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ window.$lazypoly = function() { }; ``` -When using `$async` you can alternatively use `window.$lazypoly` with a string or a object to pass to `$async` which could load anything. +When using `$async` you can alternatively use `window.$lazypoly` with a string or a object to pass to `$async.js` which could load anything. Alternatively, when including `$lazy` inline, the `data-poly` attribute enables to define a string to pass to `$async`. diff --git a/dist/lazy+polyfill.js b/dist/lazy+polyfill.js index 9487ffb..e69d9b0 100644 --- a/dist/lazy+polyfill.js +++ b/dist/lazy+polyfill.js @@ -1,3 +1,3 @@ (function(e,p){function l(a,b){a&&"object"===typeof a||(a=[a]);var d=a[0]||a.selector||"[data-src]",c=a[1]||a.threshold||.006;a=a[2]||a.rootMargin||"0px";c="object"===typeof c?c:{threshold:[c],rootMargin:a};var f;"function"!==typeof b&&(b=function(a){for(var b,c=0,d=a.length;c