From fb7253187d1e7874bba702d9fd4cbdc620aa4955 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab <hakim.elhattab@gmail.com> Date: Sun, 20 Apr 2014 11:29:44 +0200 Subject: [PATCH] correction to javascript code sample --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 25b0d767..0aece4c8 100644 --- a/index.html +++ b/index.html @@ -231,7 +231,7 @@ <p> Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name. </p> - <pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;"> + <pre><code class="javascript" data-trim contenteditable style="font-size: 18px;"> Reveal.addEventListener( 'customevent', function() { console.log( '"customevent" has fired' ); } ); -- GitLab