Protect all Node-specific code with NODE checks
This commit is contained in:
parent
7c7473f86e
commit
b5d6afd210
49 changed files with 362 additions and 282 deletions
|
|
@ -28,8 +28,10 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
var Str = require("../../shared/es6/strlib");
|
||||
var Component = require("../../shared/es6/component");
|
||||
if (NODE) {
|
||||
var Str = require("../../shared/es6/strlib");
|
||||
var Component = require("../../shared/es6/component");
|
||||
}
|
||||
|
||||
/**
|
||||
* Debugger Address Object
|
||||
|
|
@ -699,4 +701,4 @@ if (DEBUGGER) {
|
|||
|
||||
} // endif DEBUGGER
|
||||
|
||||
module.exports = Debugger;
|
||||
if (NODE) module.exports = Debugger;
|
||||
|
|
|
|||
Loading…
Reference in a new issue