Browse Source

docs: Reference node.libraryPaths in helpers section.

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
9f07a690c6
  1. 21
      doc/api.html
  2. 7
      doc/api.txt
  3. 23
      doc/api.xml
  4. 13
      doc/node.1

21
doc/api.html

@ -80,6 +80,25 @@ Returns the current working directory of the process.
The filename of the script being executed.
</p>
</dd>
<dt class="hdlist1">
<tt>require(path)</tt>
</dt>
<dt class="hdlist1">
<tt>include(path)</tt>
</dt>
<dd>
<p>
See the modules section.
</p>
</dd>
<dt class="hdlist1">
<tt>node.libraryPaths</tt>
</dt>
<dd>
<p>
The search path for absolute path arguments to <tt>require()</tt> and <tt>include()</tt>.
</p>
</dd>
</dl></div>
<h3 id="_the_tt_process_tt_object">The <tt>process</tt> Object</h3><div style="clear:left"></div>
<div class="paragraph"><p><tt>process</tt> is the equivalent of <tt>window</tt> in browser-side javascript. It is
@ -1983,7 +2002,7 @@ init (Handle&lt;Object&gt; target)
<div id="footer">
<div id="footer-text">
Version 0.1.12<br />
Last updated 2009-09-28 17:35:44 CEST
Last updated 2009-09-28 18:02:27 CEST
</div>
</div>
</body>

7
doc/api.txt

@ -56,6 +56,13 @@ Returns the current working directory of the process.
+__filename+ ::
The filename of the script being executed.
+require(path)+ ::
+include(path)+ ::
See the modules section.
+node.libraryPaths+ ::
The search path for absolute path arguments to +require()+ and +include()+.
=== The +process+ Object
+process+ is the equivalent of +window+ in browser-side javascript. It is

23
doc/api.xml

@ -57,6 +57,29 @@ The filename of the script being executed.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>require(path)</literal>
</term>
<term>
<literal>include(path)</literal>
</term>
<listitem>
<simpara>
See the modules section.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
<literal>node.libraryPaths</literal>
</term>
<listitem>
<simpara>
The search path for absolute path arguments to <literal>require()</literal> and <literal>include()</literal>.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2 id="_the_literal_process_literal_object">

13
doc/node.1

@ -54,6 +54,19 @@ __filename
.RS 4
The filename of the script being executed\.
.RE
.PP
require(path), include(path)
.RS 4
See the modules section\.
.RE
.PP
node\.libraryPaths
.RS 4
The search path for absolute path arguments to
require()
and
include()\.
.RE
.SS "The process Object"
process is the equivalent of window in browser\-side javascript\. It is the global scope\. process is an instance of node\.EventEmitter\.
.sp

Loading…
Cancel
Save