From edff5a08c1903960e0550377a07bde9684774654 Mon Sep 17 00:00:00 2001 From: Bartek Szopka Date: Wed, 4 Apr 2012 21:32:17 +0000 Subject: [PATCH] release 0.5.3 --- README.md | 11 ++++++++++- js/impress.js | 6 +++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b6d160aab..2654013af 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,16 @@ It's an (un)fortunate coincidence that a Open/LibreOffice presentation tool is c VERSION HISTORY ----------------- -### 0.5.3 (in development) +### 0.5.3 ([browse](http://github.com/bartaz/impress.js/tree/0.5.3), [zip](http://github.com/bartaz/impress.js/zipball/0.5.3), [tar](http://github.com/bartaz/impress.js/tarball/0.5.3)) + +#### BUGFIX RELEASE + +Version 0.5 introduced events including `impress:stepenter`, but this event was not triggered properly in some +specific transition types (for example when only scale was changing between steps). It was caused by the fact that +in such cases expected `transitionend` event was not triggered. + +This version fixes this issue. Unfortunately modern `transitionend` event is no longer used to detect when the +transition has finished, but old school (and more reliable) `setTimeout` is used. ### 0.5.2 ([browse](http://github.com/bartaz/impress.js/tree/0.5.2), [zip](http://github.com/bartaz/impress.js/zipball/0.5.2), [tar](http://github.com/bartaz/impress.js/tarball/0.5.2)) diff --git a/js/impress.js b/js/impress.js index f68bd7efe..224a5e2e7 100644 --- a/js/impress.js +++ b/js/impress.js @@ -11,7 +11,7 @@ * * ------------------------------------------------ * author: Bartek Szopka - * version: 0.5.3 (in development) + * version: 0.5.3 * url: http://bartaz.github.com/impress.js/ * source: http://github.com/bartaz/impress.js/ */ @@ -213,7 +213,7 @@ // IMPRESS.JS API - // And that's where intresting things will start to happen. + // And that's where interesting things will start to happen. // It's the core `impress` function that returns the impress.js API // for a presentation based on the element with given id ('impress' // by default). @@ -539,7 +539,7 @@ // So I decided that I'd rather make the code simpler than use shiny new `transitionend`. // // If you want learn something interesting and see how it was done with `transitionend` go back to - // verison 0.5.2 of impress.js on GitHub. + // version 0.5.2 of impress.js: http://github.com/bartaz/impress.js/blob/0.5.2/js/impress.js window.clearTimeout(stepEnterTimeout); stepEnterTimeout = window.setTimeout(function() { onStepEnter(activeStep);