Browse Source

Adjust process.compile documentation

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
358b7516c7
  1. 6
      doc/api.txt

6
doc/api.txt

@ -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.

Loading…
Cancel
Save