Thanks a lot for the quick reply. It solved the problem. On Sunday, May 12, 2013 2:27:18 PM UTC+2, Chris Angelico wrote: > > On Sun, May 12, 2013 at 9:57 PM, danijar <[email protected] <javascript:>> > wrote: > > v8::Handle<v8::Script> script = > v8::Script::Compile(v8::String::New(source)); > > > > v8::TryCatch trycatch; > > v8::Local<v8::Value> result = script->Run(); > > Check if script.IsEmpty() before trying to run it - you can get a null > handle back from Compile(). > > ChrisA >
-- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
