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

@ -124,4 +124,4 @@ CPUDef8080.PS.RESULT = (CPUDef8080.PS.CF | CPUDef8080.PS.PF | CPUDef8080.PS
*/
CPUDef8080.PS.SET = (CPUDef8080.PS.BIT1);
module.exports = CPUDef8080;
if (NODE) module.exports = CPUDef8080;