Protect all Node-specific code with NODE checks

This commit is contained in:
Jeff Parsons 2017-01-02 15:16:18 -08:00 committed by Jeff Parsons
commit b5d6afd210
49 changed files with 362 additions and 282 deletions

View file

@ -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;