Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
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
2479
function
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
HTML
Function · 0.85
Calls
1
fragment
Function · 0.85
Tested by
no test coverage detected