MCPcopy Index your code
hub / github.com/plotly/plotly.js / func

Function func

test/jasmine/karma.conf.js:161–178  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

159}
160
161function func(config) {
162 // level of logging
163 // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
164 //
165 // NB: if you try config.LOG_DEBUG, you may actually be looking for karma-verbose-reporter.
166 // See CONTRIBUTING.md for additional notes on reporting.
167 func.defaultConfig.logLevel = config.LOG_INFO;
168
169 // without this, console logs in the plotly.js code don't print to
170 // the terminal since karma v1.5.0
171 //
172 // See https://github.com/karma-runner/karma/commit/89a7a1c#commitcomment-21009216
173 func.defaultConfig.browserConsoleLogOptions = {
174 level: 'debug'
175 };
176
177 config.set(func.defaultConfig);
178}
179
180func.defaultConfig = {
181 // base path that will be used to resolve all patterns (eg. files, exclude)

Callers 5

promiseSerialFunction · 0.85
index.jsFile · 0.85
aggregateOneArrayFunction · 0.85
map_1d_array.jsFile · 0.85
warpFunction · 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…