Skip to content

Commit 83466d8

Browse files
committed
✨ added JSDeliver stats badge
1 parent be48984 commit 83466d8

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Lozad.js [![npm version](https://badge.fury.io/js/lozad.svg)](https://badge.fury.io/js/lozad) [![Build Status](https://travis-ci.org/ApoorvSaxena/lozad.js.svg?branch=master)](https://travis-ci.org/ApoorvSaxena/lozad.js)
1+
# Lozad.js [![npm version](https://badge.fury.io/js/lozad.svg)](https://badge.fury.io/js/lozad) [![Build Status](https://travis-ci.org/ApoorvSaxena/lozad.js.svg?branch=master)](https://travis-ci.org/ApoorvSaxena/lozad.js) [![](https://data.jsdelivr.com/v1/package/npm/lozad/badge)](https://www.jsdelivr.com/package/npm/lozad)
22

33
> Highly performant, light ~0.5kb and configurable lazy loader in pure JS with no dependencies for images, iframes and more, using IntersectionObserver API
44

build.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ function build(format) {
3535
]
3636

3737
const plugins =
38-
format === 'min' ?
39-
defaultPlugins.concat(
38+
format === 'min'
39+
? defaultPlugins.concat(
4040
uglify({
4141
output: {
4242
comments: true
4343
}
4444
})
45-
) :
46-
defaultPlugins
45+
)
46+
: defaultPlugins
4747

4848
return rollup({
4949
input: 'src/lozad.js',

dist/lozad.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! lozad.js - v1.0.4 - 2017-09-19
1+
/*! lozad.js - v1.0.5 - 2017-09-22
22
* https://github.com/ApoorvSaxena/lozad.js
33
* Copyright (c) 2017 Apoorv Saxena; Licensed MIT */
44

dist/lozad.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "lozad",
33
"title": "lozad.js",
44
"description": "A light-weight JS library to lazy load any HTML element such as images, ads, videos etc.",
5-
"version": "1.0.4",
5+
"version": "1.0.5",
66
"homepage": "https://github.com/ApoorvSaxena/lozad.js",
77
"scripts": {
88
"test": "nyc mocha",

0 commit comments

Comments
 (0)