MCPcopy Index your code
hub / github.com/philc/vimium / alwaysSuppressPropagation

Method alwaysSuppressPropagation

lib/handler_stack.js:127–132  ·  view source on GitHub ↗
(handler = null)

Source from the content-addressed store, hash-verified

125 }
126
127 alwaysSuppressPropagation(handler = null) {
128 // TODO(philc): Shorten this.
129 if ((typeof handler === "function" ? handler() : undefined) === this.suppressEvent) {
130 return this.suppressEvent;
131 } else return this.suppressPropagation;
132 }
133
134 // Debugging.
135 logResult(eventNumber, type, event, handler, result) {

Callers 1

initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected