Skip to content

Commit

Permalink
Fix description of default length function usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimbly authored and isaacs committed Sep 11, 2015
1 parent 46c8e31 commit 7776d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ away.
* `length` Function that is used to calculate the length of stored
items. If you're storing strings or buffers, then you probably want
to do something like `function(n){return n.length}`. The default is
`function(n){return 1}`, which is fine if you want to store `n`
`function(n){return 1}`, which is fine if you want to store `max`
like-sized things.
* `dispose` Function that is called on items when they are dropped
from the cache. This can be handy if you want to close file
Expand Down

0 comments on commit 7776d85

Please sign in to comment.