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