Sfoglia il codice sorgente

Fixed undefined typo

Estevão Soares dos Santos 10 anni fa
parent
commit
24716d3520
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/showdown.js

+ 1 - 1
src/showdown.js

@@ -116,7 +116,7 @@ Showdown.converter = function (converter_options) {
 //
 // Automatic Extension Loading (node only):
 //
-    if (typeof module !== 'undefind' && typeof exports !== 'undefined' && typeof require !== 'undefind') {
+    if (typeof module !== 'undefined' && typeof exports !== 'undefined' && typeof require !== 'undefined') {
         var fs = require('fs');
 
         if (fs) {