MCPcopy
hub / github.com/highlightjs/highlight.js / toString

Method toString

tools/checkTheme.js:227–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225 return this.fg || this.bg;
226 }
227 toString() {
228 return ` ${this.foreground} on ${this.background}`
229 }
230
231 contrastRatio() {
232 if (!this.foreground) return "unknown (no fg)"

Callers 11

buildSRIDigestsFunction · 0.80
checkAutoDetect.jsFile · 0.80
contrast_reportFunction · 0.80
checkTheme.jsFile · 0.80
getDefaultHeaderFunction · 0.80
detailedGrammarSizesFunction · 0.80
number.jsFile · 0.80
cNumber.jsFile · 0.80
parseRegexFunction · 0.80
powershell.jsFile · 0.80
countMatchGroupsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected