From cf876fe2de56689128a7aaed43a48f1bc85c4c0a Mon Sep 17 00:00:00 2001 From: remy Date: Sat, 30 Oct 2010 16:21:15 +0100 Subject: [PATCH] commonjsified --- src/showdown.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/showdown.js b/src/showdown.js index a960309..c1e9103 100644 --- a/src/showdown.js +++ b/src/showdown.js @@ -3,8 +3,8 @@ // // Copyright (c) 2007 John Fraser. // -// Original Markdown Copyright (c) 2004-2005 John Gruber -// +// Original Markdown Copyright (c) 2004-2005 John Gruber +// // // Redistributable under a BSD-style open source license. // See license.txt for more information. @@ -1293,4 +1293,7 @@ var escapeCharacters_callback = function(wholeMatch,m1) { return "~E"+charCodeToEscape+"E"; } -} // end of Showdown.converter \ No newline at end of file +} // end of Showdown.converter + +// export +if (typeof exports != 'undefined') exports.Showdown = Showdown; \ No newline at end of file