coreyti/showdown — pull request #44 by fizker (2012-12-12 13:54:37+00:00)
Title: Added support for ender.

[Ender](https://github.com/ender-js/Ender) adds a way to build client-side packages by implementing the CommonJS module pattern in the browser. Unfortunately, this breaks showdown because `require('fs')` throws an exception (unloaded module).

I also fixed the `typeof bla == 'undefind'` checks while at it.