Skip to content

Commit

Permalink
Merge branch 'hotfix/17.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
verlok committed Feb 21, 2022
2 parents 7c13313 + 0fe4143 commit a84fec1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 13 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Version 17

#### 17.6.1

- Removed nasty "debugger" from code (sorry about that rookie mistake!)

#### 17.6.0

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ Please note that the video poster can be lazily loaded too.

## 👩‍💻 Getting started - Script

The latest, recommended version of LazyLoad is **17.6.0**.
The latest, recommended version of LazyLoad is **17.6.1**.

Quickly understand how to upgrade from a previous version reading the [practical upgrade guide](UPGRADE.md).

Expand All @@ -168,7 +168,7 @@ Quickly understand how to upgrade from a previous version reading the [practical
The easiest way to use LazyLoad is to include the script from a CDN:

```html
<script src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/lazyload.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/lazyload.min.js"></script>
```

Then, in your javascript code:
Expand Down Expand Up @@ -209,7 +209,7 @@ Then include the script.
```html
<script
async
src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/lazyload.min.js"
src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/lazyload.min.js"
></script>
```

Expand Down Expand Up @@ -243,7 +243,7 @@ Then include the script.
```html
<script
async
src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/lazyload.min.js"
src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/lazyload.min.js"
></script>
```

Expand Down
2 changes: 0 additions & 2 deletions dist/lazyload.amd.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,6 @@ define(function () { 'use strict';
}; // ## SAVE ##

var setOriginalsObject = function setOriginalsObject(element, attributes) {
debugger;

if (hasOriginalAttrs(element)) {
return;
}
Expand Down
1 change: 0 additions & 1 deletion dist/lazyload.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ const deleteOriginalAttrs = (element) => delete element[ORIGINALS];
// ## SAVE ##

const setOriginalsObject = (element, attributes) => {
debugger;
if (hasOriginalAttrs(element)) {
return;
}
Expand Down
2 changes: 0 additions & 2 deletions dist/lazyload.iife.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,6 @@ var LazyLoad = (function () {
}; // ## SAVE ##

var setOriginalsObject = function setOriginalsObject(element, attributes) {
debugger;

if (hasOriginalAttrs(element)) {
return;
}
Expand Down
2 changes: 0 additions & 2 deletions dist/lazyload.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,6 @@
}; // ## SAVE ##

var setOriginalsObject = function setOriginalsObject(element, attributes) {
debugger;

if (hasOriginalAttrs(element)) {
return;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"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.",
"main": "dist/lazyload.min.js",
"module": "dist/lazyload.esm.js",
Expand Down
1 change: 0 additions & 1 deletion src/originalAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const deleteOriginalAttrs = (element) => delete element[ORIGINALS];
// ## SAVE ##

export const setOriginalsObject = (element, attributes) => {
debugger;
if (hasOriginalAttrs(element)) {
return;
}
Expand Down

0 comments on commit a84fec1

Please sign in to comment.