vanilla-lazyload
Advanced tools
Comparing version 17.6.0 to 17.6.1
@@ -280,4 +280,2 @@ define(function () { 'use strict'; | ||
var setOriginalsObject = function setOriginalsObject(element, attributes) { | ||
debugger; | ||
if (hasOriginalAttrs(element)) { | ||
@@ -284,0 +282,0 @@ return; |
@@ -240,3 +240,2 @@ const runningOnBrowser = typeof window !== "undefined"; | ||
const setOriginalsObject = (element, attributes) => { | ||
debugger; | ||
if (hasOriginalAttrs(element)) { | ||
@@ -243,0 +242,0 @@ return; |
@@ -281,4 +281,2 @@ var LazyLoad = (function () { | ||
var setOriginalsObject = function setOriginalsObject(element, attributes) { | ||
debugger; | ||
if (hasOriginalAttrs(element)) { | ||
@@ -285,0 +283,0 @@ return; |
@@ -284,4 +284,2 @@ (function (global, factory) { | ||
var setOriginalsObject = function setOriginalsObject(element, attributes) { | ||
debugger; | ||
if (hasOriginalAttrs(element)) { | ||
@@ -288,0 +286,0 @@ return; |
{ | ||
"name": "vanilla-lazyload", | ||
"version": "17.6.0", | ||
"version": "17.6.1", | ||
"description": "LazyLoad is a lightweight (2.4 kB) and flexible script that speeds up your web application by deferring the loading of your below-the-fold images, videos and iframes to when they will enter the viewport. It's written in plain \"vanilla\" JavaScript, it leverages the IntersectionObserver API, it supports responsive images, it optimizes your website for slower connections, and can enable native lazy loading.", | ||
@@ -5,0 +5,0 @@ "main": "dist/lazyload.min.js", |
@@ -162,3 +162,3 @@ LazyLoad is a lightweight (2.4 kB) and flexible script that **speeds up your web application** by deferring the loading of your below-the-fold images, animated SVGs, videos and iframes to **when they will enter the viewport**. It's written in plain "vanilla" JavaScript, it leverages the [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) API, it supports [responsive images](https://alistapart.com/article/responsive-images-in-practice), it optimizes your website for slower connections, and can enable native lazy loading. See [all features](#-all-features-compared) for more. | ||
The latest, recommended version of LazyLoad is **17.6.0**. | ||
The latest, recommended version of LazyLoad is **17.6.1**. | ||
@@ -172,3 +172,3 @@ Quickly understand how to upgrade from a previous version reading the [practical upgrade guide](UPGRADE.md). | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.6.0/dist/lazyload.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.6.1/dist/lazyload.min.js"></script> | ||
``` | ||
@@ -214,3 +214,3 @@ | ||
async | ||
src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.6.0/dist/lazyload.min.js" | ||
src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.6.1/dist/lazyload.min.js" | ||
></script> | ||
@@ -249,3 +249,3 @@ ``` | ||
async | ||
src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.6.0/dist/lazyload.min.js" | ||
src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@17.6.1/dist/lazyload.min.js" | ||
></script> | ||
@@ -252,0 +252,0 @@ ``` |
209885
3240