Skip to content
Snippets Groups Projects
Commit 93c4ee37 authored by Jake Read's avatar Jake Read
Browse files

propable link fix

parent c292c1b3
No related branches found
No related tags found
No related merge requests found
...@@ -9,7 +9,8 @@ import { Hunkify, Input, Output, State } from '../hunks.js' ...@@ -9,7 +9,8 @@ import { Hunkify, Input, Output, State } from '../hunks.js'
function Logger() { function Logger() {
Hunkify(this, 'Logger') Hunkify(this, 'Logger')
let tolog = new Input('any', 'tolog', this) // hmm...
let tolog = new Input('reference', 'tolog', this)
this.inputs.push(tolog) this.inputs.push(tolog)
let prefix = new State('string', 'prefix', 'LOG:') let prefix = new State('string', 'prefix', 'LOG:')
......
...@@ -100,6 +100,7 @@ function Link() { ...@@ -100,6 +100,7 @@ function Link() {
this.inputs[kp + 1] = new Input(nks[kp].typeKey, nks[kp].nameKey, this, true) this.inputs[kp + 1] = new Input(nks[kp].typeKey, nks[kp].nameKey, this, true)
} }
} else { } else {
let phy = findPhy(nks[kp].typeKey)
if(phy.key && phy.write){ if(phy.key && phy.write){
this.outputs[kp + 1] = new Output(nks[kp].typeKey, nks[kp].nameKey, this, true) this.outputs[kp + 1] = new Output(nks[kp].typeKey, nks[kp].nameKey, this, true)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment