Bring us a little closer to multi-isolate readiness by removing two
global variables.
Reviewed-By: Fedor Indutny <fedor@indutny.com>
PR-URL: https://github.com/node-forward/node/pull/58
err_obj->SetHiddenValue(env->processed_string(), True(env->isolate()));
}
- static char arrow[1024];
+ char arrow[1024];
// Print (filename):(line number): (message).
node::Utf8Value filename(message->GetScriptResourceName());
void DiffieHellman::Initialize(Environment* env, Handle<Object> target) {
Local<FunctionTemplate> t = env->NewFunctionTemplate(New);
- static enum PropertyAttribute attributes =
+ const PropertyAttribute attributes =
static_cast<PropertyAttribute>(v8::ReadOnly | v8::DontDelete);
t->InstanceTemplate()->SetInternalFieldCount(1);