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