Simplified the NODE tests

This commit is contained in:
Jeff Parsons 2015-09-16 15:32:49 -07:00
commit 646acf3a8d
53 changed files with 106 additions and 89 deletions

View file

@ -36,7 +36,7 @@
var net = {};
if (typeof module !== 'undefined') {
if (NODE) {
var sServerRoot;
var fs = require("fs");
var http = require("http");
@ -396,4 +396,4 @@ net.loadResource = function(sURL, fAsync, data, componentNotify, fnNotify, pNoti
return [nErrorCode, sResponse];
};
if (typeof module !== 'undefined') module.exports = net;
if (NODE) module.exports = net;