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"];
|
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,
|
* 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.
|
* 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/cpustate": "pdp11/lib/cpu",
|
||||||
"pdp11/lib/debugger": "shared/es6/debugger"
|
"pdp11/lib/debugger": "shared/es6/debugger"
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* loadComponents(asFiles)
|
* loadComponents(asFiles)
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -1158,3 +1158,5 @@ DriveController.SOURCE = {
|
||||||
LOCAL: "?",
|
LOCAL: "?",
|
||||||
REMOTE: "??"
|
REMOTE: "??"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (NODE) module.exports = DriveController;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue