Permalink
Browse files

fix bin/rhizome

  • Loading branch information...
1 parent d5eec53 commit b2f6c1bf0e57687433ff5d6e5aa9d9ebd06f7e06 @benw committed Oct 9, 2012
Showing with 3 additions and 4 deletions.
  1. +2 −3 bin/rhizome
  2. +1 −1 package.json
View
@@ -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
@@ -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",

0 comments on commit b2f6c1b

Please sign in to comment.