Skip to content

Commit

Permalink
5.0.0-rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
aFarkas committed May 8, 2019
1 parent 2cb9d7c commit 67a501d
Show file tree
Hide file tree
Showing 28 changed files with 30 additions and 28 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 5.0.0-beta1
## 5.0.0-rc2

* Add support fot native `loading="lazy"` feature as a [native loading plugin](https://github.com/aFarkas/lazysizes/tree/gh-pages/plugins/native-loading).
* Use `width`/`height` content attributes to detect physical aspect ratio of image candidates, if `data-aspectratio` and `h`/`w` descriptors are missing. [#642](https://github.com/aFarkas/lazysizes/issues/642)
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It may become also your number one tool to integrate responsive images. It can a
```html
<script src="lazysizes.min.js" async=""></script>
```
Note: For more information see [here](#include-early).

Or:
```js
import 'lazysizes';
Expand All @@ -20,6 +20,8 @@ It may become also your number one tool to integrate responsive images. It can a

// Note: Never import/require the *.min.js files from the npm package.
```

Note: For more information see [here](#include-early).

2. lazysizes does not need any JS configuration: Add the ``class`` ``"lazyload"`` to your images/iframes in conjunction with a ``data-src`` and/or ``data-srcset`` attribute. Optionally you can also add a ``src`` attribute with a low quality image:

Expand Down
2 changes: 1 addition & 1 deletion lazysizes-umd.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lazysizes.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lazysizes",
"version": "5.0.0-rc1",
"version": "5.0.0-rc2",
"filename": "lazysizes.min.js",
"license": "MIT",
"author": "Alexander Farkas <info@corrupt-system.de>",
Expand Down
2 changes: 1 addition & 1 deletion plugins/artdirect/ls.artdirect.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/aspectratio/ls.aspectratio.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 67a501d

Please sign in to comment.