vanilla-lazyload
Advanced tools
Comparing version 11.0.4 to 11.0.5
@@ -5,2 +5,6 @@ # CHANGELOG | ||
#### 11.0.5 | ||
Fixed the `module` property of this package.json, which was pointing to a non-existing dist file. | ||
#### 11.0.4 | ||
@@ -7,0 +11,0 @@ |
{ | ||
"name": "vanilla-lazyload", | ||
"version": "11.0.4", | ||
"version": "11.0.5", | ||
"description": "A fast, lightweight script to load images as they enter the viewport. SEO friendly, it supports responsive images (both srcset + sizes and picture) and progressive JPEG", | ||
"main": "dist/lazyload.min.js", | ||
"module": "dist/lazyload.esm.min.js", | ||
"module": "dist/lazyload.esm.js", | ||
"browser": "dist/lazyload.min.js", | ||
@@ -8,0 +8,0 @@ "dependencies": {}, |
@@ -108,3 +108,3 @@ LazyLoad is a fast, lightweight and flexible script that _speeds up your web application_ by **loading your content images, video, iframes as they enter the viewport**. It's written in plain "vanilla" JavaScript, it uses the [IntersectionObserver](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API) API, and it supports [responsive images](https://alistapart.com/article/responsive-images-in-practice). It's also SEO-friendly and it has some other [notable features](#-notable-features). | ||
The latest, recommended version of LazyLoad is **11.0.4**, which leverages the power and speed of the browser's **IntersectionObserver** API. | ||
The latest, recommended version of LazyLoad is **11.0.5**, which leverages the power and speed of the browser's **IntersectionObserver** API. | ||
@@ -124,3 +124,3 @@ ### To polyfill or not to polyfill IntersectionObserver? | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.4/dist/lazyload.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.5/dist/lazyload.min.js"></script> | ||
``` | ||
@@ -132,3 +132,3 @@ | ||
<script src="https://cdn.jsdelivr.net/npm/intersection-observer@0.5.1/intersection-observer.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.4/dist/lazyload.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.5/dist/lazyload.min.js"></script> | ||
``` | ||
@@ -168,3 +168,3 @@ | ||
```js | ||
var lazyLoadAmdUrl = "https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.4/dist/lazyload.amd.min.js"; | ||
var lazyLoadAmdUrl = "https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.5/dist/lazyload.amd.min.js"; | ||
var polyfillAmdUrl = "https://cdn.jsdelivr.net/npm/intersection-observer-amd@1.0.0/intersection-observer-amd.js"; | ||
@@ -214,3 +214,3 @@ | ||
```html | ||
<script async src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.4/dist/lazyload.min.js"></script> | ||
<script async src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.5/dist/lazyload.min.js"></script> | ||
``` | ||
@@ -241,3 +241,3 @@ | ||
```html | ||
<script async src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.4/dist/lazyload.min.js"></script> | ||
<script async src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@11.0.5/dist/lazyload.min.js"></script> | ||
``` | ||
@@ -244,0 +244,0 @@ |
207334