Forgot to set module.exports for the new DriveController class; the Node pdp11 shell app runs properly again
This commit is contained in:
parent
a70ab3dcc8
commit
d739ffcffd
2 changed files with 4 additions and 2 deletions
|
|
@ -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)
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1158,3 +1158,5 @@ DriveController.SOURCE = {
|
|||
LOCAL: "?",
|
||||
REMOTE: "??"
|
||||
};
|
||||
|
||||
if (NODE) module.exports = DriveController;
|
||||
|
|
|
|||
Loading…
Reference in a new issue