joyent/node — pull request #2055 by arturadib (2011-11-09 02:25:08+00:00)
Title: Addon docs

The example given wasn't working, because of the 2nd argument of `NODE_SET_METHOD` (changed from `"method"` to `"hello"` to match the rest of the example).

Also added a simple `hello.js` snippet to complete the demonstration.