Minor fixes
This commit is contained in:
@@ -31,7 +31,7 @@
|
|||||||
enableLog: { value: false },
|
enableLog: { value: false },
|
||||||
logLevel: { value: "error" },
|
logLevel: { value: "error" },
|
||||||
|
|
||||||
positionVsParent: { value: "" },
|
positionVsParent: { value: "" }
|
||||||
},
|
},
|
||||||
inputs: 1,
|
inputs: 1,
|
||||||
outputs: 3,
|
outputs: 3,
|
||||||
|
|||||||
@@ -203,7 +203,7 @@ class Reactor {
|
|||||||
* Update the reactor state based on the new time.
|
* Update the reactor state based on the new time.
|
||||||
* @param {number} newTime - New time to update reactor state to, in milliseconds since epoch.
|
* @param {number} newTime - New time to update reactor state to, in milliseconds since epoch.
|
||||||
*/
|
*/
|
||||||
updateState(newTime = Date.now()) { // expect update with timestamp
|
updateState(newTime) { // expect update with timestamp
|
||||||
if (this.upstreamReactor) {
|
if (this.upstreamReactor) {
|
||||||
this.setInfluent = this.upstreamReactor.getEffluent[0]; // grab main effluent upstream reactor
|
this.setInfluent = this.upstreamReactor.getEffluent[0]; // grab main effluent upstream reactor
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user