From fefc7b7496399e8b9940c067281808bf28b4c71d Mon Sep 17 00:00:00 2001 From: Colin Eberhardt Date: Mon, 17 Aug 2015 17:16:18 +0100 Subject: [PATCH] Fixed variable name error (should have run the code before commiting!) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05a1b33d..3ce9f008 100644 --- a/README.md +++ b/README.md @@ -34,12 +34,12 @@ var nodeTree = { }; // compute the layout -computeLayout(tree); +computeLayout(nodeTree); // the layout information is written back to the node tree, with // each node now having a layout property: -// JSON.stringify(tree, null, 2); +// JSON.stringify(nodeTree, null, 2); { "style": { "padding": 50