Forgot to set module.exports for the new DriveController class; the Node pdp11 shell app runs properly again

This commit is contained in:
Jeff Parsons 2017-01-28 14:54:47 -08:00 committed by Jeff Parsons
commit d739ffcffd
2 changed files with 4 additions and 2 deletions

View file

@ -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)
*

View file

@ -1158,3 +1158,5 @@ DriveController.SOURCE = {
LOCAL: "?",
REMOTE: "??"
};
if (NODE) module.exports = DriveController;