summaryrefslogtreecommitdiff
path: root/js/Electrical/SineVoltage.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Electrical/SineVoltage.js')
-rw-r--r--js/Electrical/SineVoltage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Electrical/SineVoltage.js b/js/Electrical/SineVoltage.js
index 3cab0ebd..0d7a554a 100644
--- a/js/Electrical/SineVoltage.js
+++ b/js/Electrical/SineVoltage.js
@@ -24,6 +24,7 @@ function SineVoltage() {
this.x = standard_define([2,2],model,exprs,gr_i);
this.x.graphics.in_implicit = ["I"];
this.x.graphics.out_implicit = ["I"];
+ return new BasicBlock(this.x);
}
SineVoltage.prototype.details = function SineVoltage() {
return this.x;
@@ -47,5 +48,6 @@ function SineVoltage() {
this.x.model = model;
break;
}
+ return new BasicBlock(this.x);
}
}