From e408762b69ce985bf3d9e65a093bd61145a39ca2 Mon Sep 17 00:00:00 2001 From: moos Date: Mon, 7 May 2012 21:47:59 -0700 Subject: [PATCH] update readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 80bb6f3..76b83dc 100644 --- a/README.md +++ b/README.md @@ -190,14 +190,14 @@ WordPOS.defaults = { profile: false }; ``` -To override, pass an options hash to the constructor: +To override, pass an options hash to the constructor. With the `profile` option, all callbacks receive a second argument that is the execution time in msec of the call. ```js wordpos = new WordPOS({profile: true}); + wordpos.isAdjective('fast', console.log); + // true 29 ``` -With the `profile` option, all callbacks receive a second argument that is the execution time in msec of the call. - Benchmark ----------