From f3f0a1950215b7ba5131a5ff4b850b833699b2e1 Mon Sep 17 00:00:00 2001 From: Adhitya Kamakshidasan Date: Tue, 12 Jul 2016 00:37:14 +0530 Subject: A bit of beauty --- data_structures_correct/CLKFROM.js | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'data_structures_correct/CLKFROM.js') diff --git a/data_structures_correct/CLKFROM.js b/data_structures_correct/CLKFROM.js index 9209cb5..eeb78b0 100644 --- a/data_structures_correct/CLKFROM.js +++ b/data_structures_correct/CLKFROM.js @@ -1,20 +1,20 @@ -function CLKFROM () { +function CLKFROM() { CLKFROM.prototype.define = function CLKFROM() { - var model = scicos_model(); - model.sim = new ScilabString(["clkfrom"]); - model.evtout = new ScilabDouble([1]); - model.opar=list(new ScilabString(["A"])); - model.blocktype = new ScilabString(["d"]); - model.firing = new ScilabDouble([-1]); - model.dep_ut = new ScilabBoolean([false,false]); - - var exprs = new ScilabString(["A"]); - this.x=new standard_define(new ScilabDouble([2,1]),model,exprs,new ScilabString([" "])); - this.x.graphics.id = new ScilabString(["From"]); - return new BasicBlock(this.x); + var model = scicos_model(); + model.sim = new ScilabString(["clkfrom"]); + model.evtout = new ScilabDouble([1]); + model.opar = list(new ScilabString(["A"])); + model.blocktype = new ScilabString(["d"]); + model.firing = new ScilabDouble([-1]); + model.dep_ut = new ScilabBoolean([false, false]); + + var exprs = new ScilabString(["A"]); + this.x = new standard_define(new ScilabDouble([2, 1]), model, exprs, new ScilabString([" "])); + this.x.graphics.id = new ScilabString(["From"]); + return new BasicBlock(this.x); } CLKFROM.prototype.details = function CLKFROM() { return this.x; } -} +} \ No newline at end of file -- cgit