lint: add isolate, remove semicolon

This commit is contained in:
Trevor Norris 2013-03-29 08:32:53 -07:00 committed by Ben Noordhuis
parent 3f091c7293
commit 2093e7d91a
2 changed files with 3 additions and 3 deletions

View File

@ -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"));

View File

@ -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();