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

Function buildMessage

test/unit/static/js/test_helpers.js:71–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 window.wait = wait;
70
71 function buildMessage() {
72 var args = $A(arguments), message = args.shift(), template = args.shift();
73 var output = template.interpolate(args.map(Object.inspect));
74 return message ? (message + ': ' + output) : output;
75 }
76
77 window.assert = proclaim;
78

Callers 1

test_helpers.jsFile · 0.70

Calls 1

$AFunction · 0.85

Tested by

no test coverage detected