Skip to content

Commit

Permalink
Merge pull request #13 from mike-marcacci/patch-2
Browse files Browse the repository at this point in the history
`.compile(str)` should be `.compile(array)`
  • Loading branch information
manuelstofer committed Jan 4, 2015
2 parents 231a16b + 56e3b40 commit 5d3e2a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pointer.parse('/hello/bla'); // -> ['hello', 'bla']
```


### .compile(str)
### .compile(array)

Builds a json pointer from an array of reference tokens.

Expand All @@ -160,4 +160,4 @@ The wrapper supports chainable object oriented style.
var obj = {anything: 'bla'};
var objPointer = pointer(obj);
objPointer.set('/example', 'bla').dict();
```
```

0 comments on commit 5d3e2a7

Please sign in to comment.