Fix typos in module/exports/require detection.

This commit is contained in:
Alec Perkins 2014-01-25 13:41:57 -05:00
parent e58736f216
commit ec66101e80

View File

@ -117,7 +117,7 @@ var g_output_modifiers = [];
// Automatic Extension Loading (node only): // 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'); var fs = require('fs');
if (fs && fs.readdirSync) { if (fs && fs.readdirSync) {