Update Sources/main.cpp
This commit is contained in:
@ -2954,12 +2954,6 @@ namespace {
|
|||||||
global->Set(String::NewFromUtf8(isolate, "console").ToLocalChecked(), console_template);
|
global->Set(String::NewFromUtf8(isolate, "console").ToLocalChecked(), console_template);
|
||||||
window_template->Set(String::NewFromUtf8(isolate, "console").ToLocalChecked(), console_template);
|
window_template->Set(String::NewFromUtf8(isolate, "console").ToLocalChecked(), console_template);
|
||||||
|
|
||||||
#ifdef WITH_NETWORKING
|
|
||||||
setupNativeWebSocketClass(isolate, global);
|
|
||||||
setupNativeEventClasses(isolate, global);
|
|
||||||
setupNativeXMLHttpRequestClass(isolate, global);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
Local<Context> context = Context::New(isolate, NULL, global);
|
Local<Context> context = Context::New(isolate, NULL, global);
|
||||||
global_context.Reset(isolate, context);
|
global_context.Reset(isolate, context);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user