MCPcopy Index your code
hub / github.com/SpringRoll/SpringRoll / initParams

Method initParams

src/debug/Debugger.js:50–58  ·  view source on GitHub ↗

* Setup the params if not set already. * @private * @static * @memberof Debugger

()

Source from the content-addressed store, hash-verified

48 * @memberof Debugger
49 */
50 static initParams() {
51 if (!window[Debugger.paramKey]) {
52 window[Debugger.paramKey] = {
53 emitEnabled: false,
54 enabled: true,
55 minLevel: 1
56 };
57 }
58 }
59
60 /**
61 * If emitting is enabled for this instance, then it will dispatch an event on the window.

Callers 8

paramsMethod · 0.80
minLevelMethod · 0.80
emitMethod · 0.80
meetsLevelRequirementMethod · 0.80
logMethod · 0.80
isValidLevelNameMethod · 0.80
assertMethod · 0.80
enableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected