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

Method computeRelevancy

background_scripts/completion/completers.js:63–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62 // Returns the relevancy score.
63 computeRelevancy() {
64 // We assume that, once the relevancy has been set, it won't change. Completers must set
65 // either @relevancy or @relevancyFunction.
66 if (this.relevancy == null) {
67 this.relevancy = this.relevancyFunction(this);
68 }
69 return this.relevancy;
70 }
71
72 generateHtml() {
73 if (this.html) return this.html;

Callers 3

generateHtmlMethod · 0.95
completers_test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected