Skip to content

Commit

Permalink
doc updates and a minor bump for custom isFile and readFileSync params
Browse files Browse the repository at this point in the history
  • Loading branch information
James Halliday committed Oct 3, 2011
1 parent d2b19c8 commit b0af4c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Default values for `opts`:
paths : [],
basedir : __dirname,
extensions : [ '.js' ],
readFileSync : fs.readFileSync,
isFile : function (file) {
return path.existSync(file) && fs.statSync(file).isFile()
}
}
````

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name" : "resolve",
"description" : "A more hookable require.resolve() implementation",
"version" : "0.0.4",
"version" : "0.1.0",
"repository" : {
"type" : "git",
"url" : "git://github.com/substack/node-resolve.git"
Expand Down

0 comments on commit b0af4c3

Please sign in to comment.