Skip to content

Commit

Permalink
Revert "Make it worker_thread compatible"
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyiwu committed Nov 12, 2020
1 parent d9141c3 commit 761641e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ void init(Local<Object> exports) {
Nan::GetFunction(Nan::New<FunctionTemplate>(insertWord)).ToLocalChecked());
}

NAN_MODULE_WORKER_ENABLED(nodejieba, init)
NODE_MODULE(nodejieba, init)

0 comments on commit 761641e

Please sign in to comment.