Explorar el Código

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

Because of consistency with the existent methods Reveal.prev() and Reveal.next()
Michael Kühnel hace 12 años
padre
commit
b957d0b858
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,