From a208791a02511d50eed1663203ac26eabfdfaa6f Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Sat, 16 Jun 2018 17:49:33 +0530 Subject: add spacing in for statement --- js/Misc/ENDBLK.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/Misc/ENDBLK.js') diff --git a/js/Misc/ENDBLK.js b/js/Misc/ENDBLK.js index 91699d72..ecc38460 100644 --- a/js/Misc/ENDBLK.js +++ b/js/Misc/ENDBLK.js @@ -3,7 +3,7 @@ function ENDBLK() { ENDBLK.prototype.get = function ENDBLK() { } ENDBLK.prototype.set = function ENDBLK() { -for(i=1;i<=length(arg1.model.rpar.objs);i+=1) { +for (i=1;i<=length(arg1.model.rpar.objs);i+=1) { o=arg1.model.rpar.objs(i); if (typeof(o)=="Block"&&o.gui=="END_c") { ppath=list(i); @@ -12,10 +12,10 @@ break } newpar=list(); y=0; -for(path in ppath) { +for (path in ppath) { np=size(path,"*"); spath=list(); -for(k=1;k<=np;k+=1) { +for (k=1;k<=np;k+=1) { spath[$+1-1]="model"; spath[$+1-1]="rpar"; spath[$+1-1]="objs"; -- cgit