Fixed variable name error

(should have run the code before commiting!)
This commit is contained in:
Colin Eberhardt
2015-08-17 17:16:18 +01:00
parent 9b11d202c9
commit fefc7b7496

View File

@@ -34,12 +34,12 @@ var nodeTree = {
}; };
// compute the layout // compute the layout
computeLayout(tree); computeLayout(nodeTree);
// the layout information is written back to the node tree, with // the layout information is written back to the node tree, with
// each node now having a layout property: // each node now having a layout property:
// JSON.stringify(tree, null, 2); // JSON.stringify(nodeTree, null, 2);
{ {
"style": { "style": {
"padding": 50 "padding": 50