diff --git a/Readme.md b/Readme.md index 33991af..90611ed 100644 --- a/Readme.md +++ b/Readme.md @@ -135,7 +135,7 @@ pointer.parse('/hello/bla'); // -> ['hello', 'bla'] ``` -### .compile(str) +### .compile(array) Builds a json pointer from an array of reference tokens. @@ -160,4 +160,4 @@ The wrapper supports chainable object oriented style. var obj = {anything: 'bla'}; var objPointer = pointer(obj); objPointer.set('/example', 'bla').dict(); -``` \ No newline at end of file +```