From befd0d8658604aad507a3a6c5c65a2e3533503ab Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 24 Jun 2015 00:29:25 +1000 Subject: [PATCH] Remove crufty param from buffer.scrollByScrollSize. --- common/modules/buffer.jsm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/modules/buffer.jsm b/common/modules/buffer.jsm index d4818a24..a34dea9c 100644 --- a/common/modules/buffer.jsm +++ b/common/modules/buffer.jsm @@ -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;