fix bin path
This commit is contained in:
parent
077cf75b25
commit
980cb66b67
|
@ -4,7 +4,7 @@
|
|||
"description": "Light weight templates for react -> write html get valid react code",
|
||||
"main": "./src/reactTemplates.js",
|
||||
"bin": {
|
||||
"rt": "./bin/rt.js"
|
||||
"rt": "./src/cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "node test/src/test.js"
|
||||
|
|
|
@ -168,9 +168,9 @@ function addIfNotThere(array, obj) {
|
|||
}
|
||||
|
||||
function hasNonSimpleChildren(node) {
|
||||
return _.any(node.children,function (child) {
|
||||
return child.type === 'tag' && child.attribs[templateProp];
|
||||
});
|
||||
return _.any(node.children, function (child) {
|
||||
return child.type === 'tag' && child.attribs[templateProp];
|
||||
});
|
||||
}
|
||||
|
||||
function convertHtmlToReact(node, context) {
|
||||
|
|
Loading…
Reference in New Issue