diff options
Diffstat (limited to 'js/Electrical/Inductor.js')
-rw-r--r-- | js/Electrical/Inductor.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js index 915a8d35..24523d52 100644 --- a/js/Electrical/Inductor.js +++ b/js/Electrical/Inductor.js @@ -20,6 +20,7 @@ function Inductor() { this.x = standard_define([2,0.9],model,exprs,list(gr_i,0)); this.x.graphics.in_implicit = ["I"]; this.x.graphics.out_implicit = ["I"]; + return new BasicBlock(this.x); } Inductor.prototype.details = function Inductor() { return this.x; @@ -43,5 +44,6 @@ function Inductor() { this.x.model = model; break; } + return new BasicBlock(this.x); } } |