Skip to content

Commit 45150fa

Browse files
committed
links to code in subdirs
1 parent 9651a1d commit 45150fa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

1_hello_world/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,12 @@ var addon = require('bindings')('hello.node')
130130

131131
The invocation of our addon comes from `console.log(addon.hello())` where we fetch the `Method` function in our C++ code and execute it. It returns a `"hello"` String which is printed to the console.
132132

133+
The [nan](./nan/) directory contains a complete copy of this example. Run `npm install` and `node hello.js` to compile and run the code.
134+
135+
The [node_0.10](./node_0.10/) directory contains a version of the example without NAN, compatible with Node 0.10 and prior (only).
136+
137+
The [node_0.12](./node_0.12/) directory contains a version of the example without NAN, compatible with Node 0.11 and above (only).
138+
133139
***[Proceed to example 2 »](../2_function_arguments/)***
134140

135141
***[Index](../#readme)***

0 commit comments

Comments
 (0)