Doc improvements

This commit is contained in:
koichik 2011-07-23 14:29:13 +09:00
parent 7a6a77e07c
commit 3eb246485a
3 changed files with 2 additions and 11 deletions

View File

@ -41,16 +41,6 @@ Modules are cached in this object when they are required. By deleting a key
value from this object, the next `require` will reload the module.
### require.paths
An array of search paths for `require()`. This array can be modified to add
custom paths.
Example: add a new path to the beginning of the search list
require.paths.unshift('/usr/local/node');
### __filename
The filename of the script being executed. This is the absolute path, and not necessarily

View File

@ -244,7 +244,7 @@ Additionally, node will search in the following locations:
* 2: `$HOME/.node_libraries`
* 3: `$PREFIX/lib/node`
Where `$HOME` is the user's home directory, and `PREFIX` is node's
Where `$HOME` is the user's home directory, and `$PREFIX` is node's
configured `installPrefix`.
These are mostly for historic reasons. You are highly encouraged to

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>{{section}}Node.js v0.5.2 Manual &amp; Documentation</title>
<link type="image/x-icon" rel="icon" href="/favicon.ico" />
<link type="image/x-icon" rel="shortcut icon" href="/favicon.ico" />