From 7c46679b39dc7a48d8f6f8aee3eb08e3ec400fa5 Mon Sep 17 00:00:00 2001 From: Bartek Szopka Date: Wed, 15 Feb 2012 20:53:41 +0100 Subject: [PATCH] comment update after API changes --- index.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 716b492..ce10c4d 100644 --- a/index.html +++ b/index.html @@ -280,9 +280,14 @@ Last, but not least. To make all described above really work, you need to include impress.js in the page. + I strongly encourage to minify it first. + + In here I just include full source of the script to make it more readable. + + You also need to call a `impress()` function to initialize impress.js presentation. And you should do it in the end of your document. Not only because it's a good practice, but also - because I was lazy, haven't wrapped the code in any kind of "DOM ready" event, so it will not work - if included too early in the source ;) + because I should be done when the whole document is ready. + Of course you can wrap it in any kind of "DOM ready" event, but I was to lazy to do so ;) -->