Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-01-02 12:13:27 +0300
committerRyan Dahl <ry@tinyclouds.org>2011-01-02 12:13:27 +0300
commit1345103c3abaf915d0bd62307635c4e95124017a (patch)
tree68e12da311cc9bf744b255439370babcfd08981a /src
parent2e3e95ee89045966dbd6bf955c319ab448c1c85e (diff)
Fix typos
Diffstat (limited to 'src')
-rw-r--r--src/node_script.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node_script.cc b/src/node_script.cc
index 3057a3429f6..609b6166227 100644
--- a/src/node_script.cc
+++ b/src/node_script.cc
@@ -342,11 +342,11 @@ Handle<Value> WrappedScript::EvalMachine(const Arguments& args) {
WrappedScript *n_script = ObjectWrap::Unwrap<WrappedScript>(args.Holder());
if (!n_script) {
return ThrowException(Exception::Error(
- String::New("Must be called as a method of WrappedScript.")));
+ String::New("Must be called as a method of Script.")));
} else if (n_script->script_.IsEmpty()) {
return ThrowException(Exception::Error(
String::New("'this' must be a result of previous "
- "new WrappedScript(code) call.")));
+ "new Script(code) call.")));
}
script = n_script->script_;
@@ -360,7 +360,7 @@ Handle<Value> WrappedScript::EvalMachine(const Arguments& args) {
WrappedScript *n_script = ObjectWrap::Unwrap<WrappedScript>(args.Holder());
if (!n_script) {
return ThrowException(Exception::Error(
- String::New("Must be called as a method of WrappedScript.")));
+ String::New("Must be called as a method of Script.")));
}
n_script->script_ = Persistent<Script>::New(script);
result = args.This();