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

Method enable

src/debug/Debugger.js:203–206  ·  view source on GitHub ↗

* Disables or enables all debugger instances. * TODO: Remove the parameter here, and add a disable method as well * @static * @param {boolean} flag * @returns {void}

(flag)

Source from the content-addressed store, hash-verified

201 * @returns {void}
202 */
203 static enable(flag) {
204 Debugger.initParams();
205 window[Debugger.paramKey].enabled = flag;
206 }
207
208 /**
209 * Returns the global params key.

Callers 1

Debugger.spec.jsFile · 0.45

Calls 1

initParamsMethod · 0.80

Tested by

no test coverage detected