Adjust process.compile documentation
authorRyan Dahl <ry@tinyclouds.org>
Thu, 11 Mar 2010 18:27:20 +0000 (10:27 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 11 Mar 2010 18:27:20 +0000 (10:27 -0800)
doc/api.txt

index c745bc8..b4e35ab 100644 (file)
@@ -154,9 +154,9 @@ Send a signal to a process. +pid+ is the process id and +signal+ is the
 signal to send; for example, "SIGINT" or "SIGUSR1".  See kill(2) for more
 information.
 
-+process.compile(source, scriptOrigin)+::
-Just like +eval()+ except that you can specify a +scriptOrigin+ for better
-error reporting.
++process.compile(code, scriptOrigin)+::
+Similar to +eval()+ except that you can specify a +scriptOrigin+ for better
+error reporting and the +code+ cannot see the local scope.
 
 +process.mixin([deep], target, object1, [objectN])+ ::
 Extend one object with one or more others, returning the modified object.