MCPcopy Create free account
hub / github.com/danvk/webdiff / value

Method value

webdiff/static/js/highlight.min.js:25–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23;return[`${t}${a.shift()}`,...a.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")
24}return`${t}${e}`})(e.scope,{prefix:this.classPrefix}),this.span(t)}
25closeNode(e){i(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){
26this.buffer+=`<span class="${e}">`}}const o=(e={})=>{const t={children:[]}
27;return Object.assign(t,e),t};class l{constructor(){
28this.rootNode=o(),this.stack=[this.rootNode]}get top(){

Callers 1

toHTMLMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected