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 diff --git a/package.json b/package.json index 5f8b145b..af3f478e 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "css-layout", "version": "0.0.2", "description": "Reimplementation of CSS layout using pure JavaScript", - "main": "src/main.js", + "main": "dist/css-layout.js", "scripts": { "test": "grunt ci" },