Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix bin/rhizome

  • Loading branch information...
commit b2f6c1bf0e57687433ff5d6e5aa9d9ebd06f7e06 1 parent d5eec53
@benw authored
Showing with 3 additions and 4 deletions.
  1. +2 −3 bin/rhizome
  2. +1 −1  package.json
View
5 bin/rhizome
@@ -33,7 +33,6 @@ var config = {
// var router = rhizome(config);
if (uri) {
- var parsetree = rhizome.parse(config, uri + '\n');
- var leaf = rhizome.resolve(parsetree).node;
- console.log(leaf);
+ var parsetree = rhizome.parse(config, uri);
+ console.log(parsetree);
}
View
2  package.json
@@ -1,6 +1,6 @@
{
"name": "rhizome",
- "version": "0.2.1",
+ "version": "0.2.2",
"description": "Use a peg.js grammar to route url requests",
"author": {
"name": "Ben Williamson",
Please sign in to comment.
Something went wrong with that request. Please try again.