Make linter happy
This commit is contained in:
parent
c5914516c8
commit
77a26882a3
1 changed files with 3 additions and 2 deletions
|
@ -80,9 +80,10 @@ class EventEmitter : public Wrappable<T> {
|
||||||
v8::Locker locker(isolate());
|
v8::Locker locker(isolate());
|
||||||
v8::HandleScope handle_scope(isolate());
|
v8::HandleScope handle_scope(isolate());
|
||||||
v8::Local<v8::Object> wrapper = GetWrapper();
|
v8::Local<v8::Object> wrapper = GetWrapper();
|
||||||
if (wrapper.IsEmpty())
|
if (wrapper.IsEmpty()) {
|
||||||
return false;
|
return false;
|
||||||
v8::Local<v8::Object> event = internal::CreateJSEvent(
|
}
|
||||||
|
v8::Local<v8::Object> event = internal::CreateJSEvent(
|
||||||
isolate(), wrapper, sender, message);
|
isolate(), wrapper, sender, message);
|
||||||
return EmitWithEvent(name, event, args...);
|
return EmitWithEvent(name, event, args...);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue