clux/modul8 — Issue #7: module.exports is not set
Author: Raynos
Created: 2011-11-30 18:05:45+00:00
State: open

`if (typeof module !== "undefined" && module.exports) {`

fails. Also `module.exports.foo = ...` fails because `module.exports` is not set.

Some people use `module.exports.foo = ...` instead of `exports.foo = ...`