From: Ryan Dahl
Date: Mon, 28 Sep 2009 20:16:43 +0000 (+0200)
Subject: Add doc for node.compile()
X-Git-Tag: v0.1.13~7
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ba5b7e24b86cb533c61320656f94f0d72359d52;p=platform%2Fupstream%2Fnodejs.git
Add doc for node.compile()
---
diff --git a/doc/api.html b/doc/api.html
index c9c0a45..77c8967 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)