Change the test to node

If you export the module enters browserify if, however if used process is a global variable node.
This commit is contained in:
AlejoNext 2014-11-16 00:04:09 -05:00
parent 053288f2fe
commit 482393d834

View File

@ -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 process !== 'undefined') {
var fs = require('fs');
if (fs) {