Skip to content

Releases: verlok/picturePolyfill

Releasing version 3.2.1

21 Apr 16:53
Compare
Choose a tag to compare

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

12 Apr 23:37
Compare
Choose a tag to compare

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

05 Apr 07:22
Compare
Choose a tag to compare

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

30 Mar 23:57
Compare
Choose a tag to compare

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

23 Mar 07:11
Compare
Choose a tag to compare

Restored the ability for window.picturePolyfill() to accept an element as argument, as stated in the readme

Releasing version 2.0.5

20 Mar 10:24
Compare
Choose a tag to compare

This version fixes a bug that caused an error when executing window.picturePolyfill() from outside module's scope.

Releasing version 2.0.4

19 Mar 15:44
Compare
Choose a tag to compare

Releasing 2.0.4 - added native picture support detection

Releasing version 2.0.3

18 Mar 20:59
Compare
Choose a tag to compare

Implemented a tiny efficient cache system that makes parsing 40% faster.
See performance comparison

Releasing version 2.0.2

17 Mar 06:56
Compare
Choose a tag to compare

Added support for the src attribute in source tag

Releasing version 2.0.1

16 Mar 19:00
Compare
Choose a tag to compare

Minor update: added a function to DRY code + Vars and functions names refactoring