Skip to content

Commit

Permalink
Fix eternalize() wiring
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Sep 18, 2018
1 parent 5e8b742 commit efb58ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script.cc
Expand Up @@ -39,6 +39,7 @@ void Script::Init(Handle<Object> exports, Runtime* runtime) {

Nan::SetPrototypeMethod(tpl, "load", Load);
Nan::SetPrototypeMethod(tpl, "unload", Unload);
Nan::SetPrototypeMethod(tpl, "eternalize", Eternalize);
Nan::SetPrototypeMethod(tpl, "post", Post);

auto ctor = Nan::GetFunction(tpl).ToLocalChecked();
Expand Down

0 comments on commit efb58ba

Please sign in to comment.