From 994d338eec2b321129b4547f22e03f2fd8d8afdf Mon Sep 17 00:00:00 2001 From: Titus Date: Fri, 15 Jun 2012 12:46:06 -0600 Subject: [PATCH] Switched to correct exporting syntax --- src/showdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;