From 2df43bcf3bbadd7ad5af89dd82507fd0da9dabac Mon Sep 17 00:00:00 2001 From: Apoorv Saxena Date: Sun, 22 Apr 2018 01:38:34 +0530 Subject: [PATCH] 1.4.0 release --- dist/lozad.js | 2 +- dist/lozad.min.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dist/lozad.js b/dist/lozad.js index 64306a4..a42fad8 100644 --- a/dist/lozad.js +++ b/dist/lozad.js @@ -1,4 +1,4 @@ -/*! lozad.js - v1.3.0 - 2018-04-09 +/*! lozad.js - v1.4.0 - 2018-04-22 * https://github.com/ApoorvSaxena/lozad.js * Copyright (c) 2018 Apoorv Saxena; Licensed MIT */ diff --git a/dist/lozad.min.js b/dist/lozad.min.js index 7743109..a610821 100644 --- a/dist/lozad.min.js +++ b/dist/lozad.min.js @@ -1,4 +1,4 @@ -/*! lozad.js - v1.3.0 - 2018-04-09 +/*! lozad.js - v1.4.0 - 2018-04-22 * https://github.com/ApoorvSaxena/lozad.js * Copyright (c) 2018 Apoorv Saxena; Licensed MIT */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.lozad=e()}(this,function(){"use strict";function t(t){t.setAttribute("data-loaded",!0)}var e=Object.assign||function(t){for(var e=1;e0&&(a.unobserve(n.target),o(n.target)||(e(n.target),t(n.target),r(n.target)))})}},i=function(t){return t instanceof Element?[t]:t instanceof NodeList?t:document.querySelectorAll(t)};return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".lozad",d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=e({},n,d),c=u.rootMargin,s=u.threshold,g=u.load,f=u.loaded,l=void 0;return window.IntersectionObserver&&(l=new IntersectionObserver(a(g,f),{rootMargin:c,threshold:s})),{observe:function(){for(var e=i(r),n=0;n