MCPcopy Create free account
hub / github.com/plotly/plotly.js / consoleFn

Function consoleFn

test/jasmine/tests/lib_test.js:1990–1998  ·  view source on GitHub ↗
(name, messages)

Source from the content-addressed store, hash-verified

1988 var stashOnGraphLogLevel;
1989
1990 function consoleFn(name, messages) {
1991 var out = function () {
1992 var args = [];
1993 for (var i = 0; i < arguments.length; i++) args.push(arguments[i]);
1994 messages.push([name, args]);
1995 };
1996
1997 return out;
1998 }
1999
2000 function mockConsole() {
2001 var out = {

Callers 1

mockConsoleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…