-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
66 changed files
with
7,637 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# Changelog | ||
|
||
## 4.0.0-RC1 | ||
* make all plugins CommonJS compatible (thx to @claudiobmgrtnr and @jantimon) | ||
* added `loadHidden` option(thx to @justinvoelker) | ||
* added artdirection plugin (no documentation yet, but great) | ||
* iOS 8.1 fixes has to be loaded explicitly in non CommonJS environments (not included in respimg plugin anymore) | ||
* removed `picture` support for old FF 38- | ||
|
||
## 2.0.0 | ||
|
||
* lazysizes core: | ||
* heavily improved performance (`requestIdleCallback`, better debouncing and a lot more). | ||
* plugins: | ||
* new plugin: [**object fit polyfill**](plugins/object-fit). | ||
* improved new options for [parent-fit plugin](plugins/parent-fit). | ||
|
||
## 1.5.0 | ||
Breaking change: | ||
* the lazysizes.js and lazysizes.min.js files do not register as AMD modules anymore, if you need an AMD module use the new lazysizes-umd.js or lazysizes-umd.min.js file. | ||
* lazysizes core: | ||
* improved lazyloading in background tabs. | ||
* fixed set lazyloaded class to early in FF. | ||
* bgset/parentFit plugin: | ||
* improved avoiding layout thrashing. | ||
* respimg/bgset/parentFit plugin: | ||
* fixed bug in Edge 14 to parse height descriptors correctly. | ||
* unload plugin: | ||
unload plugin was broken since version 1.4.0 (thanks to @hokamoto) | ||
|
||
## 1.4.0 | ||
* lazysizes core: | ||
* improved lazyloading in background tabs. | ||
* improved avoiding layout thrashing | ||
* support of SVG elements (`svg`/`image`/`use`...) | ||
* bgset/parentFit plugin: | ||
* improved avoiding layout thrashing | ||
* rias (and bgset): | ||
* added support for height calculation (thx to @LRancez, [#213](https://github.com/aFarkas/lazysizes/pull/213)) | ||
|
||
## 1.3.2 | ||
|
||
* lazysizes core: | ||
* add `hFactor` option (see #181). | ||
* unload plugin: | ||
* simplified `unloadPixelThreshold` calculation. | ||
* bgset plugin: | ||
* add an empty alt to image (see #200). | ||
|
||
## 1.3.1 version | ||
|
||
* lazysizes core: | ||
* replace `setImmediate` with `setTimeout` (improved performance for IE/EDGE). | ||
* plugins: | ||
* fixed conflict with respimg plugin in combination with bgset plugin, in case of art direction and resize to smaller. | ||
* fixed conflict with RIaS plugin in combination with respimg plugin/picturefill in Safari 8/9. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2015 Alexander Farkas | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.