From 1b4205e75eb5b83977d6a4ddc3920447fc088d78 Mon Sep 17 00:00:00 2001 From: Nathanael Jones Date: Wed, 11 Mar 2015 09:13:09 -0400 Subject: [PATCH] Release 0.4.2. Fixes #50, thanks to @Jeavon pull request #42. --- README.md | 1 + slimmage.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d7b1b21..8ac14e4 100644 --- a/README.md +++ b/README.md @@ -187,6 +187,7 @@ Feel free to fork and add links to your HTML filters/helpers here! * 0.2.6 - Fix typo causing ‘undefined’ is null error; affects 0.2.4+. * 0.4.0 - Only fire `window.slimmage.readyCallback` on first `checkResponsiveImages()` and when there have been actual modifications to images. Add window.slimmage.webpTimeout to increase likelyhood of webp usage working. Disable verbose output by default. Apply `maxWidth` after `widthStep` instead of before (lowers upper bound from 2080 to 2048). Stop inverting jpeg and webp quality values. Fix IE6/7 setAttribute bug; class value was not copied from noscript element. Add `window.slimmage.enforceCSS` setting; can emulate max-width on IE6/7/8, which lack an implementation. * 0.4.1 - Handle resize event on IE 7/8, and increase image size. Fixes “failed to ratched” errors. Improve fluidity of enforceCss when max-width no longer needs to be applied. +* 0.4.2 - Fix bug causing any parameters starting with w or h to be removed or corrupted. [Contributed by @Jeavon](https://github.com/imazen/slimmage/pull/47) Also fixes [#50](https://github.com/imazen/slimmage/issues/50) ### Contributor notes diff --git a/slimmage.js b/slimmage.js index 8f68ffb..8f82754 100644 --- a/slimmage.js +++ b/slimmage.js @@ -1,5 +1,5 @@ /** - * @preserve Slimmage 0.4.1, use with ImageResizer. MIT/Apache2 dual licensed by Imazen + * @preserve Slimmage 0.4.2, use with ImageResizer. MIT/Apache2 dual licensed by Imazen */ /* We often use string instead of dot notation to keep