diff options
| author | Stephen Blott | 2015-04-18 07:45:30 +0100 |
|---|---|---|
| committer | Stephen Blott | 2015-04-18 07:45:30 +0100 |
| commit | 6224319dcfa5eed1d9d9fab3a5fc2d0c20b70c2e (patch) | |
| tree | 36927befe9dac34897df94aee76c6086676407ab /lib | |
| parent | e5a2dee7d1a09d593cc721d9a6c8d95638270a76 (diff) | |
| download | vimium-6224319dcfa5eed1d9d9fab3a5fc2d0c20b70c2e.tar.bz2 | |
Mode indicator: strip all references to badges.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/handler_stack.coffee | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/handler_stack.coffee b/lib/handler_stack.coffee index b0fefc7d..b09d3183 100644 --- a/lib/handler_stack.coffee +++ b/lib/handler_stack.coffee @@ -84,10 +84,8 @@ class HandlerStack # Debugging. logResult: (eventNumber, type, event, handler, result) -> - # FIXME(smblott). Badge updating is too noisy, so we filter it out. However, we do need to look at how - # many badge update events are happening. It seems to be more than necessary. We also filter out - # registerKeyQueue as unnecessarily noisy and not particularly helpful. - return if type in [ "updateBadge", "registerKeyQueue" ] + # Key queue events aren't usually useful for debugging, so we filter them out. + return if type in [ "registerKeyQueue" ] label = switch result when @stopBubblingAndTrue then "stop/true" |
