Parcourir la source

Rename API method from Reveal.previousFragment() to Reveal.prevFragment()

Because of consistency with the existent methods Reveal.prev() and Reveal.next()
Michael Kühnel il y a 12 ans
Parent
commit
b957d0b858
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

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