MCPcopy Index your code
hub / github.com/prototypejs/prototype / error

Function error

test/unit/static/js/mocha.js:2479–2481  ·  view source on GitHub ↗

* Display error `msg`.

(msg)

Source from the content-addressed store, hash-verified

2477 */
2478
2479function error(msg) {
2480 document.body.appendChild(fragment('<div id="mocha-error">%s</div>', msg));
2481}
2482
2483/**
2484 * Return a DOM fragment from `html`.

Callers 1

HTMLFunction · 0.85

Calls 1

fragmentFunction · 0.85

Tested by

no test coverage detected