From 1c1bfb8d070ccbae1307c40e0b0a12afb6f65219 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sun, 4 Oct 2015 10:07:12 +0100 Subject: Make comment/explanation match implementation. --- content_scripts/mode.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'content_scripts') diff --git a/content_scripts/mode.coffee b/content_scripts/mode.coffee index 49da03e2..cab97b32 100644 --- a/content_scripts/mode.coffee +++ b/content_scripts/mode.coffee @@ -144,10 +144,10 @@ class Mode keyup: (event) => if KeyboardUtils.isPrintable event then @stopBubblingAndFalse else @stopBubblingAndTrue - # if @options.suppressTrailingKeyEvents is set, then we suppress all key events until a subsquent - # (non-repeat) keydown or keypress. In particular, the intention is to catch keyup events for keys which - # we have handled, but which otherwise might trigger page actions (if the page is listening for keyup - # events). + # if @options.suppressTrailingKeyEvents is set, then -- on exit -- we suppress all key events until a + # subsquent (non-repeat) keydown or keypress. In particular, the intention is to catch keyup events for + # keys which we have handled, but which otherwise might trigger page actions (if the page is listening for + # keyup events). if @options.suppressTrailingKeyEvents @onExit -> handler = (event) -> -- cgit v1.2.3