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

@ -53,7 +53,7 @@
/* global window: true, DEBUG: true */
if (typeof module !== 'undefined') {
if (NODE) {
require("./defines");
var usr = require("./usrlib");
var web = require("./weblib");
@ -997,4 +997,4 @@ Component.prototype = {
}
};
if (typeof module !== 'undefined') module.exports = Component;
if (NODE) module.exports = Component;