MCPcopy
hub / github.com/philc/vimium / reset

Method reset

content_scripts/mode.js:279–284  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

277
278 // For tests only.
279 static reset() {
280 for (const mode of this.modes) {
281 mode.exit();
282 }
283 this.modes = [];
284 }
285}
286
287// If Mode.debug is true, then we generate a trace of modes being activated and deactivated on the

Callers 5

initFunction · 0.45
vimium_frontend.jsFile · 0.45
initializeModeStateFunction · 0.45
completers_test.jsFile · 0.45

Calls 1

exitMethod · 0.45

Tested by

no test coverage detected