From 7465daea85285ba7f291b6bf6ddc45caa9e7ad65 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 25 Jun 2018 18:20:39 +0530 Subject: add spacing to end of block also --- js/Misc/IMPSPLIT_f.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'js/Misc/IMPSPLIT_f.js') diff --git a/js/Misc/IMPSPLIT_f.js b/js/Misc/IMPSPLIT_f.js index 25e4799d..13d25e0b 100644 --- a/js/Misc/IMPSPLIT_f.js +++ b/js/Misc/IMPSPLIT_f.js @@ -10,15 +10,16 @@ function IMPSPLIT_f() { model.equations = mo; model.in1 = ones(size(mo.inputs,"*"),1); model.out = ones(size(mo.outputs,"*"),1); - x = standard_define([1,1]/3,model,[],[]); - x.graphics.in_implicit = ["I"]; - x.graphics.out_implicit = ["I","I"]; + this.x = standard_define([1,1]/3,model,[],[]); + this.x.graphics.in_implicit = ["I"]; + this.x.graphics.out_implicit = ["I","I"]; } IMPSPLIT_f.prototype.details = function IMPSPLIT_f() { + return this.x; } IMPSPLIT_f.prototype.get = function IMPSPLIT_f() { } IMPSPLIT_f.prototype.set = function IMPSPLIT_f() { - x = arg1; + this.x = arg1; } } -- cgit