File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,10 @@ static void init(v8::Local<v8::Object> target) {
1717 // expose HelloObject class
1818 object_sync::HelloObject::Init (target);
1919
20+ // Notice there are multiple "hello" functions as part of this module:
21+ // 1) standalone::hello
22+ // 2) HelloObject.hello()...not really sure why this function doesnt have to be expliclty exposed
23+
2024 // add more methods/classes below that youd like to use in node.js-world
2125 // then create a .cpp and .hpp file in /src for each new method
2226}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ namespace object_sync {
1818 static NAN_METHOD (New);
1919 // static Nan::Persistent<v8::Function> &constructor();
2020
21- // hello, custom sync method tied to module.cpp
21+ // hello, custom sync method tied to Init of this class somehow...?
2222 // method's logic lives in hello.cpp
2323 static NAN_METHOD (hello);
2424
You can’t perform that action at this time.
0 commit comments