From 56e3b402251aa5f929bc842ab43a1bae8274a627 Mon Sep 17 00:00:00 2001 From: Mike Marcacci Date: Fri, 2 Jan 2015 16:02:16 -0800 Subject: [PATCH] `.compile(str)` should be `.compile(array)` Super tiny doc fix --- Readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +```