Skip to content

Commit edff5a0

Browse files
committed
release 0.5.3
1 parent 2da949e commit edff5a0

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,16 @@ It's an (un)fortunate coincidence that a Open/LibreOffice presentation tool is c
2020
VERSION HISTORY
2121
-----------------
2222

23-
### 0.5.3 (in development)
23+
### 0.5.3 ([browse](https://github.com/bartaz/impress.js/tree/0.5.3), [zip](https://github.com/bartaz/impress.js/zipball/0.5.3), [tar](https://github.com/bartaz/impress.js/tarball/0.5.3))
24+
25+
#### BUGFIX RELEASE
26+
27+
Version 0.5 introduced events including `impress:stepenter`, but this event was not triggered properly in some
28+
specific transition types (for example when only scale was changing between steps). It was caused by the fact that
29+
in such cases expected `transitionend` event was not triggered.
30+
31+
This version fixes this issue. Unfortunately modern `transitionend` event is no longer used to detect when the
32+
transition has finished, but old school (and more reliable) `setTimeout` is used.
2433

2534

2635
### 0.5.2 ([browse](https://github.com/bartaz/impress.js/tree/0.5.2), [zip](https://github.com/bartaz/impress.js/zipball/0.5.2), [tar](https://github.com/bartaz/impress.js/tarball/0.5.2))

js/impress.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
* ------------------------------------------------
1313
* author: Bartek Szopka
14-
* version: 0.5.3 (in development)
14+
* version: 0.5.3
1515
* url: http://bartaz.github.com/impress.js/
1616
* source: https://github.com/bartaz/impress.js/
1717
*/
@@ -213,7 +213,7 @@
213213

214214
// IMPRESS.JS API
215215

216-
// And that's where intresting things will start to happen.
216+
// And that's where interesting things will start to happen.
217217
// It's the core `impress` function that returns the impress.js API
218218
// for a presentation based on the element with given id ('impress'
219219
// by default).
@@ -539,7 +539,7 @@
539539
// So I decided that I'd rather make the code simpler than use shiny new `transitionend`.
540540
//
541541
// If you want learn something interesting and see how it was done with `transitionend` go back to
542-
// verison 0.5.2 of impress.js on GitHub.
542+
// version 0.5.2 of impress.js: https://github.com/bartaz/impress.js/blob/0.5.2/js/impress.js
543543
window.clearTimeout(stepEnterTimeout);
544544
stepEnterTimeout = window.setTimeout(function() {
545545
onStepEnter(activeStep);

0 commit comments

Comments
 (0)