Skip to content

Commit

Permalink
Merge pull request #174 from yanyiwu/revert-168-master
Browse files Browse the repository at this point in the history
Revert "Make it worker_thread compatible"
  • Loading branch information
yanyiwu committed Nov 12, 2020
2 parents d9141c3 + 761641e commit 425f1c8
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 425f1c8

Please sign in to comment.