Node pdp11 utility can now properly initialize all machine components (although there are still some type issues with some of the properties we're extracting from the machine XML)

This commit is contained in:
Jeff Parsons 2016-12-29 13:08:23 -08:00 committed by Jeff Parsons
commit 51c7b96f3c
3 changed files with 91 additions and 35 deletions

View file

@ -290,7 +290,7 @@ class Component {
if (!COMPILED) {
Component.println(s, "notice", id);
}
if (!fPrintOnly) Web.alertUser((id? (id + ": ") : "") + s);
if (!fPrintOnly && Web.alertUser) Web.alertUser((id? (id + ": ") : "") + s);
}
/**
@ -303,7 +303,7 @@ class Component {
if (!COMPILED) {
Component.println(s, "warning");
}
Web.alertUser(s);
if (Web.alertUser) Web.alertUser(s);
}
/**
@ -316,7 +316,7 @@ class Component {
if (!COMPILED) {
Component.println(s, "error");
}
Web.alertUser(s);
if (Web.alertUser) Web.alertUser(s);
}
/**