Skip to content

Commit a84fec1

Browse files
committed
Merge branch 'hotfix/17.6.1'
2 parents 7c13313 + 0fe4143 commit a84fec1

File tree

8 files changed

+8
-13
lines changed

8 files changed

+8
-13
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Version 17
44

5+
#### 17.6.1
6+
7+
- Removed nasty "debugger" from code (sorry about that rookie mistake!)
58

69
#### 17.6.0
710

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Please note that the video poster can be lazily loaded too.
159159

160160
## 👩‍💻 Getting started - Script
161161

162-
The latest, recommended version of LazyLoad is **17.6.0**.
162+
The latest, recommended version of LazyLoad is **17.6.1**.
163163

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

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

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

174174
Then, in your javascript code:
@@ -209,7 +209,7 @@ Then include the script.
209209
```html
210210
<script
211211
async
212-
src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/lazyload.min.js"
212+
src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/lazyload.min.js"
213213
></script>
214214
```
215215

@@ -243,7 +243,7 @@ Then include the script.
243243
```html
244244
<script
245245
async
246-
src="https://cdn.jsdelivr.net/npm/[email protected].0/dist/lazyload.min.js"
246+
src="https://cdn.jsdelivr.net/npm/[email protected].1/dist/lazyload.min.js"
247247
></script>
248248
```
249249

dist/lazyload.amd.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ define(function () { 'use strict';
277277
}; // ## SAVE ##
278278

279279
var setOriginalsObject = function setOriginalsObject(element, attributes) {
280-
debugger;
281-
282280
if (hasOriginalAttrs(element)) {
283281
return;
284282
}

dist/lazyload.esm.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,6 @@ const deleteOriginalAttrs = (element) => delete element[ORIGINALS];
237237
// ## SAVE ##
238238

239239
const setOriginalsObject = (element, attributes) => {
240-
debugger;
241240
if (hasOriginalAttrs(element)) {
242241
return;
243242
}

dist/lazyload.iife.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,6 @@ var LazyLoad = (function () {
278278
}; // ## SAVE ##
279279

280280
var setOriginalsObject = function setOriginalsObject(element, attributes) {
281-
debugger;
282-
283281
if (hasOriginalAttrs(element)) {
284282
return;
285283
}

dist/lazyload.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,6 @@
281281
}; // ## SAVE ##
282282

283283
var setOriginalsObject = function setOriginalsObject(element, attributes) {
284-
debugger;
285-
286284
if (hasOriginalAttrs(element)) {
287285
return;
288286
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vanilla-lazyload",
3-
"version": "17.6.0",
3+
"version": "17.6.1",
44
"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.",
55
"main": "dist/lazyload.min.js",
66
"module": "dist/lazyload.esm.js",

src/originalAttributes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export const deleteOriginalAttrs = (element) => delete element[ORIGINALS];
1212
// ## SAVE ##
1313

1414
export const setOriginalsObject = (element, attributes) => {
15-
debugger;
1615
if (hasOriginalAttrs(element)) {
1716
return;
1817
}

0 commit comments

Comments
 (0)