()
| 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; |
no outgoing calls
no test coverage detected