diff --git a/modules/pdp11/bin/pdp11 b/modules/pdp11/bin/pdp11 index f490412e0..f4a2ef054 100644 --- a/modules/pdp11/bin/pdp11 +++ b/modules/pdp11/bin/pdp11 @@ -83,7 +83,7 @@ var aComponents = []; var asComponentsIgnore = ["embed", "save"]; /* - * A few of the components are subclasses of other classes (eg, "cpustate" is a subclass of "cpu"). + * A few of the components are subclasses of other classes (eg, "cpustate" subclasses "cpu"). * In those situations, we "hoist" the subclass constructor into the corresponding superclass, * because it is the name of the superclass that we rely on during machine initialization. */ @@ -91,7 +91,7 @@ var aSubClasses = { "pdp11/lib/cpustate": "pdp11/lib/cpu", "pdp11/lib/debugger": "shared/es6/debugger" }; - + /** * loadComponents(asFiles) * diff --git a/modules/pdp11/lib/drive.js b/modules/pdp11/lib/drive.js index b34ee3390..2ce942841 100644 --- a/modules/pdp11/lib/drive.js +++ b/modules/pdp11/lib/drive.js @@ -1158,3 +1158,5 @@ DriveController.SOURCE = { LOCAL: "?", REMOTE: "??" }; + +if (NODE) module.exports = DriveController;