summaryrefslogtreecommitdiff
path: root/js/Electrical/PNP.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/PNP.js')
-rw-r--r--js/Electrical/PNP.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Electrical/PNP.js b/js/Electrical/PNP.js
index bd3fcad3..418bbf9c 100644
--- a/js/Electrical/PNP.js
+++ b/js/Electrical/PNP.js
@@ -47,6 +47,7 @@ function PNP() {
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);
}
PNP.prototype.details = function PNP() {
return this.x;
@@ -69,5 +70,6 @@ function PNP() {
this.x.graphics.exprs = exprs;
break;
}
+ return new BasicBlock(this.x);
}
}