Rename API method from Reveal.previousFragment() to Reveal.prevFragment()
authorMichael Kühnel <mail@michael-kuehnel.de>
Thu, 18 Oct 2012 22:24:13 +0000 (00:24 +0200)
committerMichael Kühnel <mail@michael-kuehnel.de>
Thu, 18 Oct 2012 22:24:13 +0000 (00:24 +0200)
Because of consistency with the existent methods Reveal.prev() and Reveal.next()

js/reveal.js

index 653fbb29c50c8b2c7462cb358520ad47d898161e..eee950b8bfabd3f83229ff87fe98258de200d28d 100644 (file)
@@ -1293,8 +1293,8 @@ var Reveal = (function(){
                down: navigateDown,
                prev: navigatePrev,
                next: navigateNext,
+               prevFragment: previousFragment,
                nextFragment: nextFragment,
-               previousFragment: previousFragment,
 
                // Deprecated aliases
                navigateTo: slide,