Simplified the NODE tests
This commit is contained in:
parent
c1a3c3d477
commit
646acf3a8d
53 changed files with 106 additions and 89 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue