summaryrefslogtreecommitdiff
path: root/js/Misc/scifunc_block.js
diff options
context:
space:
mode:
authorSunil Shetye2018-06-21 11:00:03 +0530
committerSunil Shetye2018-06-21 11:59:38 +0530
commit3f563b9e29d42266d6680229da5c29f847804834 (patch)
tree6c6a425d4e1c82db68fa7ecc0d5a71b3647f8990 /js/Misc/scifunc_block.js
parent7b0bf23e7d94df8f3406f5f64926b1131041ba35 (diff)
downloadsci2js-3f563b9e29d42266d6680229da5c29f847804834.tar.gz
sci2js-3f563b9e29d42266d6680229da5c29f847804834.tar.bz2
sci2js-3f563b9e29d42266d6680229da5c29f847804834.zip
code cleanup
Diffstat (limited to 'js/Misc/scifunc_block.js')
-rw-r--r--js/Misc/scifunc_block.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/js/Misc/scifunc_block.js b/js/Misc/scifunc_block.js
index 2763d949..12da9da6 100644
--- a/js/Misc/scifunc_block.js
+++ b/js/Misc/scifunc_block.js
@@ -1,6 +1,6 @@
/* autogenerated from "macros/Misc/scifunc_block.sci" */
function scifunc_block() {
-scifunc_block.prototype.define = function scifunc_block() {
+ scifunc_block.prototype.define = function scifunc_block() {
in1=1;
out=1;
clkin=[];
@@ -27,12 +27,12 @@ model.dep_ut=[true,false];
exprs=list([[sci2exp(in1)],[sci2exp(out)],[sci2exp(clkin)],[sci2exp(clkout)],[strcat(sci2exp(x0))],[strcat(sci2exp(z0))],[strcat(sci2exp(rpar))],[sci2exp(auto)]],list("y1=sin(u1)"," "," ","y1=sin(u1)"," "," "," "));
gr_i=[];
x=standard_define([2,2],model,exprs,gr_i);
-}
-scifunc_block.prototype.details = function scifunc_block() {
-}
-scifunc_block.prototype.get = function scifunc_block() {
-}
-scifunc_block.prototype.set = function scifunc_block() {
+ }
+ scifunc_block.prototype.details = function scifunc_block() {
+ }
+ scifunc_block.prototype.get = function scifunc_block() {
+ }
+ scifunc_block.prototype.set = function scifunc_block() {
needcompile=0;
x=arg1;
model=arg1.model;
@@ -88,5 +88,5 @@ break;
}
}
needcompile=resume(needcompile)
-}
+ }
}