Selaa lähdekoodia

Switched to correct exporting syntax

Titus 13 vuotta sitten
vanhempi
sitoutus
994d338eec
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/showdown.js

+ 1 - 1
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;