From 4b7a36f520a83be5010a72c0136bf50d7cd1d35e Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 15 Nov 2010 16:27:35 +1100 Subject: [PATCH] Mention negative count behaviour of buffer.shiftFrameFocus in doc comment. --HG-- extra : rebase_source : 19df452513744fc8eb5200d9a8bc0b6eebefdf5f --- common/content/buffer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/content/buffer.js b/common/content/buffer.js index 888e8521..c5e4f5da 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -810,7 +810,8 @@ const Buffer = Module("buffer", { * Shifts the focus to another frame within the buffer. Each buffer * contains at least one frame. * - * @param {number} count The number of frames to skip through. + * @param {number} count The number of frames to skip through. A negative + * count skips backwards. */ shiftFrameFocus: function (count) { if (!(window.content.document instanceof HTMLDocument))