aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorMichael Kühnel <mail@michael-kuehnel.de>2012-10-23 21:56:56 +0200
committerMichael Kühnel <mail@michael-kuehnel.de>2012-10-23 21:56:56 +0200
commit40c899ec562093668a23925a66835e6c65392983 (patch)
tree5390819b38e43411ed9f6cf62111b34801473152 /js
parentaefe981040ea8c5c7875d9da1ac860def44a19e8 (diff)
downloadperl-software-in-gnu-guix-40c899ec562093668a23925a66835e6c65392983.tar
perl-software-in-gnu-guix-40c899ec562093668a23925a66835e6c65392983.tar.gz
Cherry picking from branch fix-fragments-in-speakernotes
Change source from reveal.min.js to reveal.js for testing purposes. Add nextFragment and previousFragment to the API: Making it possible to call the methods Reveal.nextFragment() and Reveal.previousFragment() from »outside«. Update README.md: Add the new API Methods Reveal.prevFragment() and Reveal.nextFragment()
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index cb0205e..749e71d 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1316,6 +1316,8 @@ var Reveal = (function(){
down: navigateDown,
prev: navigatePrev,
next: navigateNext,
+ prevFragment: previousFragment,
+ nextFragment: nextFragment,
// Deprecated aliases
navigateTo: slide,