1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-27 10:32:27 +01:00

Remove crufty param from buffer.scrollByScrollSize.

This commit is contained in:
Doug Kearns
2015-06-24 00:29:25 +10:00
parent 723ab5c052
commit befd0d8658

View File

@@ -911,10 +911,8 @@ var Buffer = Module("Buffer", {
*
* @param {boolean} direction The direction to scroll. If true then
* scroll up and if false scroll down.
* @param {number} count The multiple of 'scroll' lines to scroll.
* @optional
*/
scrollByScrollSize: function scrollByScrollSize(direction, count=1) {
scrollByScrollSize: function scrollByScrollSize(direction) {
let { options } = this.modules;
direction = direction ? 1 : -1;