Merge pull request #112 from ColinEberhardt/package-json-fix
Package json fix
This commit is contained in:
@@ -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
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"name": "css-layout",
|
"name": "css-layout",
|
||||||
"version": "0.0.2",
|
"version": "0.0.2",
|
||||||
"description": "Reimplementation of CSS layout using pure JavaScript",
|
"description": "Reimplementation of CSS layout using pure JavaScript",
|
||||||
"main": "src/main.js",
|
"main": "dist/css-layout.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "grunt ci"
|
"test": "grunt ci"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user