Releases: verlok/picturePolyfill
Releasing version 3.2.1
Nothing important was made to the core code. This is just a refactoring of files and folder names. Source code is in the src
folder, distributable code (picturePolyfill.min.js) is in the dist
folder. And some use case was added to the demo page.
Releasing version 3.2.0
Version 3.2.0
New feature: when an image must be displayed on a large display only, it’s not created at all, or it’s removed when resizing down the smallest defined breakpoint
Releasing version 3.1.0
Added support to fractional devicePixelRatio
, see #5.
Used this release to create better, faster and more readable code for the 2 core functions.
Tests were adapted to the new output (it was a hash, now it's an Array) of the parsing functions.
PS: I love test driven Javascript code :)
Releasing version 3.0.0
Version 3.0.0 was made rock solid by adding unit tests using qUnit and Sinon, run by the Karma test runner. This means that, no matter how much we will author the main file, we will always be sure that every function behaves exactly how we want it to, in every browser.
To add tests I had to refactor the code, exporting almost every function, so the interface of the main function has changed from window.picturePolyfill()
to window.picturePolyfill.parse()
.
The tests have highlighted a small bug on IE8, so if you want to support that browser, be sure to update to version 3.
Releasing version 2.0.6
Restored the ability for window.picturePolyfill() to accept an element as argument, as stated in the readme
Releasing version 2.0.5
This version fixes a bug that caused an error when executing window.picturePolyfill()
from outside module's scope.
Releasing version 2.0.4
Releasing 2.0.4 - added native picture
support detection
Releasing version 2.0.3
Implemented a tiny efficient cache system that makes parsing 40% faster.
See performance comparison
Releasing version 2.0.2
Added support for the src
attribute in source
tag
Releasing version 2.0.1
Minor update: added a function to DRY code + Vars and functions names refactoring