From 5cfb7b3239781d3a67b0e44ac0b609cb53b0b65e Mon Sep 17 00:00:00 2001
From: Michael Kühnel
Date: Thu, 18 Oct 2012 23:19:01 +0200
Subject: Add nextFragment and previousFragment to the API

Making it possible to call the methods Reveal.nextFragment() and Reveal.previousFragment() from »outside«.
---
 js/reveal.js | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'js/reveal.js')

diff --git a/js/reveal.js b/js/reveal.js
index c2769e5..653fbb2 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1293,6 +1293,8 @@ var Reveal = (function(){
 		down: navigateDown,
 		prev: navigatePrev,
 		next: navigateNext,
+		nextFragment: nextFragment,
+		previousFragment: previousFragment,
 
 		// Deprecated aliases
 		navigateTo: slide,
-- 
cgit v1.2.3