diff options
Diffstat (limited to 'js/Electrical/NPN.js')
-rw-r--r-- | js/Electrical/NPN.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Electrical/NPN.js b/js/Electrical/NPN.js index 93484238..c82ac606 100644 --- a/js/Electrical/NPN.js +++ b/js/Electrical/NPN.js @@ -47,6 +47,7 @@ function NPN() { this.x = standard_define([2,2],model,exprs,list(gr_i,0)); this.x.graphics.in_implicit = Typein; this.x.graphics.out_implicit = Typeout; + return new BasicBlock(this.x); } NPN.prototype.details = function NPN() { return this.x; @@ -69,5 +70,6 @@ function NPN() { this.x.graphics.exprs = exprs; break; } + return new BasicBlock(this.x); } } |