joyent/node — pull request #4430 by bnoordhuis (2012-12-18 08:59:56+00:00)
Title: node: s/-/_/ in add-on symbol name

Replace dashes with underscores. When loading foo-bar.node, look for
foo_bar_module, not foo-bar_module. The latter is not a legal symbol name.

Fixes a minor add-on loading nuisance.

Reviewers: @indutny @piscisaureus