checkpoint tracing work

This commit is contained in:
Stewart Allen 2020-11-30 18:46:56 -05:00
commit 33574454b6
3 changed files with 103 additions and 62 deletions

View file

@ -315,6 +315,13 @@
unit_scale: unitScale
},
widgets: {
map: function() {
let map = {};
WIDGETS.forEach(widget => {
map[widget.id] = widget;
});
return map;
},
new: newWidget,
all: function() { return WIDGETS.slice() },
for: forAllWidgets,