summaryrefslogtreecommitdiff
path: root/js/Electrical/Ground.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-12 21:09:17 +0530
committerSunil Shetye2018-07-12 23:01:50 +0530
commita2bfd6050ab2b5b6bbede92393b1f61d4ecc25aa (patch)
tree0dee8f3e2db1c4561dd3ab2652a06372e6e2de2e /js/Electrical/Ground.js
parente070c0b2ce193fc5deb85760968910163dd061a5 (diff)
downloadsci2js-a2bfd6050ab2b5b6bbede92393b1f61d4ecc25aa.tar.gz
sci2js-a2bfd6050ab2b5b6bbede92393b1f61d4ecc25aa.tar.bz2
sci2js-a2bfd6050ab2b5b6bbede92393b1f61d4ecc25aa.zip
define gr_i
Diffstat (limited to 'js/Electrical/Ground.js')
-rw-r--r--js/Electrical/Ground.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Electrical/Ground.js b/js/Electrical/Ground.js
index 2c94c087..50163380 100644
--- a/js/Electrical/Ground.js
+++ b/js/Electrical/Ground.js
@@ -12,7 +12,7 @@ function Ground() {
mo.inputs = "p";
this.model.equations = new ScilabDouble([mo]);
var exprs = "";
- var gr_i = [];
+ var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"Ground\",sz(1),sz(2));"]);
this.x = standard_define([1,1],this.model,exprs,list(gr_i,0));
this.x.graphics.in_implicit = ["I"];
this.x.graphics.out_implicit = ["I"];