summaryrefslogtreecommitdiff
path: root/data_structures_correct
diff options
context:
space:
mode:
authorAdhitya Kamakshidasan2016-07-11 21:44:24 +0530
committerAdhitya Kamakshidasan2016-07-11 21:44:24 +0530
commit73e59c5466c8b4bd216044b2c9b509fec8bffd0d (patch)
tree5e22673df27ae8396ef34f8623bcbd45640ae6de /data_structures_correct
parentbd19ddf03c534ed84a9c2e1d710b480de13fb65a (diff)
downloadxcos-on-web-73e59c5466c8b4bd216044b2c9b509fec8bffd0d.tar.gz
xcos-on-web-73e59c5466c8b4bd216044b2c9b509fec8bffd0d.tar.bz2
xcos-on-web-73e59c5466c8b4bd216044b2c9b509fec8bffd0d.zip
Fixed style bug for 'Explicit' Blocks
Diffstat (limited to 'data_structures_correct')
-rw-r--r--data_structures_correct/IN_f.js6
-rw-r--r--data_structures_correct/OUT_f.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/data_structures_correct/IN_f.js b/data_structures_correct/IN_f.js
index 7527ab6..1a2545a 100644
--- a/data_structures_correct/IN_f.js
+++ b/data_structures_correct/IN_f.js
@@ -15,7 +15,7 @@ function IN_f () {
var exprs = new ScilabString([sci2exp(this.prt)]);
var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"IN_f\",sz(1),sz(2));"]);
- var block=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i);
+ var block = new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i);
block.graphics.style = new ScilabString(["IN_f"]); // changed
block.graphics.out_implicit = new ScilabString(["E"]);
block.graphics.out_style = new ScilabString(["ExplicitOutputPort;align=right;verticalAlign=middle;spacing=10.0;rotation=0"]);
@@ -31,14 +31,14 @@ function IN_f () {
model.out = new ScilabDouble([-1]);
model.out2 = new ScilabDouble([-2]);
model.outtyp = new ScilabDouble([-1]);
- model.ipar=new ScilabDouble([this.prt]);
+ model.ipar = new ScilabDouble([this.prt]);
model.blocktype = new ScilabString(["c"]);
model.dep_ut = new ScilabBoolean([false,false]);
var exprs = new ScilabString([sci2exp(this.prt)]);
var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"IN_f\",sz(1),sz(2));"]);
- this.x=new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i);
+ this.x = new standard_define(new ScilabDouble([1,1]),model,exprs,gr_i);
return new ExplicitInBlock(this.x);
}
diff --git a/data_structures_correct/OUT_f.js b/data_structures_correct/OUT_f.js
index 6b65d13..277148c 100644
--- a/data_structures_correct/OUT_f.js
+++ b/data_structures_correct/OUT_f.js
@@ -9,7 +9,7 @@ function OUT_f () {
model.in = new ScilabDouble([-1]);
model.in2 = new ScilabDouble([-2]);
model.intyp = new ScilabDouble([-1]);
- model.ipar=new ScilabDouble([this.prt]);
+ model.ipar = new ScilabDouble([this.prt]);
model.blocktype = new ScilabString(["c"]);
model.dep_ut = new ScilabBoolean([false,false]);
var exprs = new ScilabString([sci2exp(this.prt)]);