lint: add isolate, remove semicolon
This commit is contained in:
parent
3f091c7293
commit
2093e7d91a
@ -900,9 +900,9 @@ Handle<Value> FromConstructorTemplate(Persistent<FunctionTemplate> t,
|
||||
|
||||
|
||||
Handle<Value> UsingDomains(const Arguments& args) {
|
||||
HandleScope scope;
|
||||
HandleScope scope(node_isolate);
|
||||
if (using_domains)
|
||||
return scope.Close(Undefined());
|
||||
return Undefined();
|
||||
using_domains = true;
|
||||
Local<Value> tdc_v = process->Get(String::New("_tickDomainCallback"));
|
||||
Local<Value> ndt_v = process->Get(String::New("_nextDomainTick"));
|
||||
|
@ -973,7 +973,7 @@ Handle<Value> Buffer::MakeFastBuffer(const Arguments &args) {
|
||||
}
|
||||
|
||||
Buffer *buffer = ObjectWrap::Unwrap<Buffer>(args[0]->ToObject());
|
||||
Local<Object> fast_buffer = args[1]->ToObject();;
|
||||
Local<Object> fast_buffer = args[1]->ToObject();
|
||||
uint32_t offset = args[2]->Uint32Value();
|
||||
uint32_t length = args[3]->Uint32Value();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user