0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-03 11:21:51 +00:00

Removed spurious line.

This commit is contained in:
Simon Best 2013-03-24 20:43:51 +00:00
parent ff443f3bc7
commit 114eb9cbf6

View File

@ -175,7 +175,6 @@ std::vector<char *> modules_stack;
V8JS_METHOD(require) V8JS_METHOD(require)
{ {
//v8::Persistent<v8::Value> module_name_value_v8 = v8::Persistent<v8::Value>::New(args[0]->ToObject());
v8::String::Utf8Value module_name_v8(args[0]); v8::String::Utf8Value module_name_v8(args[0]);
// Make sure to duplicate the module name string so it doesn't get freed by the V8 garbage collector // Make sure to duplicate the module name string so it doesn't get freed by the V8 garbage collector