showdownjs/showdown — pull request #123 by blakeembrey (2014-12-18 02:29:54+00:00)
Title: More hardy node environment check

Checking only `module` is causing issues with other modules in a browser. The actual issue is caused when testing with angular which added a `module` function to the browser. This module then adds a `module.exports` property. Finally, another module that checks both thinks we're in node and tries to do a `require` for additional data.