Selaa lähdekoodia

Updated exports syntax to work like README demonstrates

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

+ 1 - 1
src/showdown.js

@@ -1335,4 +1335,4 @@ var escapeCharacters_callback = function(wholeMatch,m1) {
 } // end of Showdown.converter
 
 // export
-if (typeof exports != 'undefined') exports = Showdown;
+if (typeof exports != 'undefined') exports.Showdown = Showdown;