missing note about init() function

This commit is contained in:
Bartek Szopka
2012-03-20 21:56:01 +00:00
parent 88662339a9
commit 2a9e9b859c

View File

@@ -48,6 +48,10 @@ VERSION HISTORY
#### UPGRADING FROM PREVIOUS VERSIONS #### UPGRADING FROM PREVIOUS VERSIONS
In current version calling `impress()` doesn't automatically initialize the presentation. You need to call `init()`
function from the API. So in a place were you called `impress()` to initialize impress.js simply change this call
to `impress().init()`.
Version 0.4 changed `goto` API method into `stepTo`. It turned out that `goto` is not a reserved word anymore, so it Version 0.4 changed `goto` API method into `stepTo`. It turned out that `goto` is not a reserved word anymore, so it
can be used in JavaScript. That's why version 0.5 brings it back and removes `stepTo`. can be used in JavaScript. That's why version 0.5 brings it back and removes `stepTo`.