diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2009-09-28 22:16:43 +0200 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2009-09-28 22:16:43 +0200 |
commit | 4ba5b7e24b86cb533c61320656f94f0d72359d52 (patch) | |
tree | 08b58bbff511aeab145d57d3e9de56f8e078f949 /doc/node.1 | |
parent | e972add0ea6cc27848decff2c761452d75e42d0b (diff) | |
download | android-node-v8-4ba5b7e24b86cb533c61320656f94f0d72359d52.tar.gz android-node-v8-4ba5b7e24b86cb533c61320656f94f0d72359d52.tar.bz2 android-node-v8-4ba5b7e24b86cb533c61320656f94f0d72359d52.zip |
Add doc for node.compile()
Diffstat (limited to 'doc/node.1')
-rw-r--r-- | doc/node.1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/node.1 b/doc/node.1 index c962b89d12..5edc3a32f3 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -50,6 +50,15 @@ node\.cwd() Returns the current working directory of the process\. .RE .PP +node\.compile(source, scriptOrigin) +.RS 4 +Just like +eval() +except that you can specify a +scriptOrigin +for better error reporting\. +.RE +.PP __filename .RS 4 The filename of the script being executed\. |