diff --git a/src/showdown.js b/src/showdown.js index 612157f..869d753 100644 --- a/src/showdown.js +++ b/src/showdown.js @@ -1338,4 +1338,4 @@ var escapeCharacters_callback = function(wholeMatch,m1) { } // end of Showdown.converter // export -if (typeof exports != 'undefined') exports.Showdown = Showdown; +if (typeof module !== 'undefined') module.exports = Showdown;