1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 06:58:00 +01:00

Fix Buffer#getAllFrames deprecation call.

--HG--
extra : rebase_source : 9affca91ef61f291a53e8c34066f6b0c14c06803
This commit is contained in:
Doug Kearns
2011-06-29 10:28:09 +10:00
parent e3e2f7d551
commit 56d97ef752

View File

@@ -1102,7 +1102,7 @@ var Buffer = Module("buffer", {
this.setZoom(Math.round(values[i] * 100), fullZoom); this.setZoom(Math.round(values[i] * 100), fullZoom);
}, },
getAllFrames: deprecated("buffer.allFrames", function getAllFrames() buffer.getAllFrames.apply(buffer, arguments)), getAllFrames: deprecated("buffer.allFrames", "allFrames"),
scrollTop: deprecated("buffer.scrollToPercent", function scrollTop() buffer.scrollToPercent(null, 0)), scrollTop: deprecated("buffer.scrollToPercent", function scrollTop() buffer.scrollToPercent(null, 0)),
scrollBottom: deprecated("buffer.scrollToPercent", function scrollBottom() buffer.scrollToPercent(null, 100)), scrollBottom: deprecated("buffer.scrollToPercent", function scrollBottom() buffer.scrollToPercent(null, 100)),
scrollStart: deprecated("buffer.scrollToPercent", function scrollStart() buffer.scrollToPercent(0, null)), scrollStart: deprecated("buffer.scrollToPercent", function scrollStart() buffer.scrollToPercent(0, null)),