Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
patch c
Browse files Browse the repository at this point in the history
  • Loading branch information
Sovianum committed May 23, 2020
1 parent ff7a517 commit 953d053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/binding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace {

NAN_METHOD(New) {}

void Init(Handle<Object> exports, Handle<Object> module) {
void Init(Local<Object> exports, Local<Object> module) {
Local<FunctionTemplate> tpl = Nan::New<FunctionTemplate>(New);
tpl->SetClassName(Nan::New("Language").ToLocalChecked());
tpl->InstanceTemplate()->SetInternalFieldCount(1);
Expand Down

0 comments on commit 953d053

Please sign in to comment.