From 4ba5b7e24b86cb533c61320656f94f0d72359d52 Mon Sep 17 00:00:00 2001
From: Ryan Dahl
Date: Mon, 28 Sep 2009 22:16:43 +0200
Subject: [PATCH] Add doc for node.compile()
---
doc/api.html | 11 ++++++++++-
doc/api.txt | 4 ++++
doc/api.xml | 11 +++++++++++
doc/node.1 | 9 +++++++++
4 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/doc/api.html b/doc/api.html
index c9c0a45ef3c..77c896791f9 100644
--- a/doc/api.html
+++ b/doc/api.html
@@ -73,6 +73,15 @@ Returns the current working directory of the process.
+node.compile(source, scriptOrigin)
+
+
+
+Just like eval() except that you can specify a scriptOrigin for better
+error reporting.
+
+
+
__filename
@@ -2006,7 +2015,7 @@ init (Handle<Object> target)