mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
Fix typos in module/exports/require detection.
This commit is contained in:
parent
e58736f216
commit
ec66101e80
|
@ -117,7 +117,7 @@ var g_output_modifiers = [];
|
|||
// 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 && fs.readdirSync) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user