mirror of https://github.com/lukechilds/node.git
Browse Source
This way, require("/foo") will work if there is a "foo.js", or a file named simply "foo" with no extension.v0.7.4-release
isaacs
15 years ago
committed by
Ryan Dahl
3 changed files with 7 additions and 1 deletions
@ -0,0 +1,2 @@ |
|||||
|
|
||||
|
exports.foo = "ok" |
Loading…
Reference in new issue