MCPcopy
hub / github.com/Justineo/github-hovercard / getErrorHTML

Function getErrorHTML

src/hovercard.js:1296–1299  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

1294 }
1295
1296 function getErrorHTML(error) {
1297 let html = Mustache.render(CARD_TPL.error, error)
1298 return $(html)
1299 }
1300
1301 // prepare token form
1302 let tokenForm = $(CARD_TPL.form).attr('tabindex', '0')

Callers 2

handleErrorFunction · 0.70
hovercard.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected