mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
Add comment clarifying debug
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user