瀏覽代碼

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

Because of consistency with the existent methods Reveal.prev() and Reveal.next()
Michael Kühnel 12 年之前
父節點
當前提交
b957d0b858
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,