Skip to content

Commit

Permalink
Cleaned up parts of dock tree visualizer code
Browse files Browse the repository at this point in the history
  • Loading branch information
coderespawn committed May 1, 2013
1 parent eccd855 commit 9954e37
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/out/demos/ide/infovis/dock_tree_vis.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,10 @@ function getJsonTree(dockNode) {
DockVisListener = function() {};
DockVisListener.prototype.onDock = function(dockManager, dockNode) {
var rootNode = dockManager.context.model.rootNode; // TODO: Root node is not synced properly
while (rootNode.parent) rootNode = rootNode.parent;
RebuildDebugTree(rootNode);
};
DockVisListener.prototype.onUndock = function(dockManager, dockNode) {
var rootNode = dockManager.context.model.rootNode; // TODO: Root node is not synced properly
while (rootNode.parent) rootNode = rootNode.parent;
RebuildDebugTree(rootNode);
};

Expand Down

0 comments on commit 9954e37

Please sign in to comment.