We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b05338 + da32e89 commit c13956aCopy full SHA for c13956a
1 file changed
src/main.cc
@@ -297,10 +297,10 @@ class Spellchecker : public Nan::ObjectWrap {
297
}
298
};
299
300
-void Init(Local<Object> exports, Local<Object> module) {
+void Init(Local<Object> exports) {
301
Spellchecker::Init(exports);
302
303
304
} // namespace
305
306
-NODE_MODULE(spellchecker, Init)
+NAN_MODULE_WORKER_ENABLED(spellchecker, Init)
0 commit comments