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.
1 parent aa939f7 commit 01dae9bCopy full SHA for 01dae9b
src/Main.cpp
@@ -105,13 +105,15 @@ namespace bsdpNode {
105
Nan::ThrowError(error);
106
}
107
108
- void init(Local<Object> exports, Local<Object> module) {
+ void init(Local<Object> exports) {
109
NODE_SET_METHOD(exports, "diff", diff);
110
NODE_SET_METHOD(exports, "diffSync", diffSync);
111
112
NODE_SET_METHOD(exports, "patch", patch);
113
NODE_SET_METHOD(exports, "patchSync", patchSync);
114
115
116
- NODE_MODULE(bsdp, init)
+ NODE_MODULE_INIT() {
117
+ init(exports);
118
+ }
119
0 commit comments