Permalink
Browse files

updated example to use `true` instead of /./

  • Loading branch information...
1 parent 8de0581 commit e792079cbd8a8de61954a56272d1530c91a45493 @substack committed Jun 8, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.markdown
  2. +1 −1 example/path.js
  3. +1 −1 package.json
View
@@ -18,7 +18,7 @@ var xs = [
{ x : { y : { z : 333 } } },
{ X : { y : { z : 222 } } }
];
-var ys = pathway(xs, [ /./, /x/i, 'y', 'z' ]);
+var ys = pathway(xs, [ true, /x/i, 'y', 'z' ]);
console.dir(ys);
```
View
@@ -7,5 +7,5 @@ var xs = [
{ x : { y : { z : 333 } } },
{ X : { y : { z : 222 } } }
];
-var ys = pathway(xs, [ /./, /x/i, 'y', 'z' ]);
+var ys = pathway(xs, [ true, /x/i, 'y', 'z' ]);
console.dir(ys);
View
@@ -1,7 +1,7 @@
{
"name" : "pathway",
"description" : "trace key-paths through nested objects",
- "version" : "0.0.0",
+ "version" : "0.0.1",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/node-pathway.git"

0 comments on commit e792079

Please sign in to comment.