Simon Hunt

GUI -- Topology view... Minor cleanup.

Change-Id: I86e1bab3815b8dfabdfbd1e5f3f773b37b2f1ca9
......@@ -203,6 +203,7 @@
});
}
// trans can specify translation [x,y]
function addGlyph(elem, glyphId, size, overlay, trans) {
var sz = size || 40,
ovr = !!overlay,
......
......@@ -34,7 +34,7 @@
var ovtopo, svg, defs, zoomLayer, mapG, forceG;
// Internal state
var zoomer, evDispatcher;
var zoomer;
// Note: "exported" state should be properties on 'self' variable
......@@ -175,9 +175,6 @@
// set the svg size to match that of the window, less the masthead
svg.attr(fs.windowSize(mast.mastHeight()));
// bind to topo event dispatcher..
evDispatcher = tes.bindDispatcher('TODO: topo-DOM-elements-here');
setUpKeys();
setUpDefs();
setUpZoom();
......
......@@ -70,10 +70,8 @@
function populateSummary(data) {
summaryPanel.empty();
var svg = summaryPanel.append('svg'); //.style('background-color', 'goldenrod'),
//iid = '#' + (data.type || 'unknown');
var title = summaryPanel.append('h2'),
var svg = summaryPanel.append('svg'),
title = summaryPanel.append('h2'),
table = summaryPanel.append('table'),
tbody = table.append('tbody');
......