Add comment clarifying debug

This commit is contained in:
Bryan Housel
2020-02-24 10:52:48 -05:00
parent 4d0ef1bafc
commit d1dcff841a

View File

@@ -19,9 +19,11 @@ export * from './ui/index';
export * from './util/index';
export * from './validations/index';
// When `debug = true`, we use `Object.freeze` on immutables in iD.
// This is only done in testing because of the performance penalty.
export let debug = false;
// reexport just what our tests use, see #4379
// Reexport just what our tests use, see #4379
import * as D3 from 'd3';
export let d3 = {
customEvent: D3.customEvent,