MCPcopy
hub / github.com/webrtc/samples / error

Function error

src/js/third_party/webgl_teapot/webgl-debug.js:42–48  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

40 * @param {string} msg Message to log.
41 */
42var error = function(msg) {
43 if (window.console && window.console.error) {
44 window.console.error(msg);
45 } else {
46 log(msg);
47 }
48};
49
50
51/**

Callers 1

makeDebugContextFunction · 0.85

Calls 2

errorMethod · 0.80
logFunction · 0.70

Tested by

no test coverage detected