summaryrefslogtreecommitdiff
path: root/js/Linear/SAMPHOLD.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/SAMPHOLD.js')
-rw-r--r--js/Linear/SAMPHOLD.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/js/Linear/SAMPHOLD.js b/js/Linear/SAMPHOLD.js
index 5c155e3b..5c9bacf5 100644
--- a/js/Linear/SAMPHOLD.js
+++ b/js/Linear/SAMPHOLD.js
@@ -1,23 +1,23 @@
/* autogenerated from "macros/Linear/SAMPHOLD.sci" */
function SAMPHOLD() {
SAMPHOLD.prototype.define = function SAMPHOLD() {
-in1=-1;
-model=scicos_model();
-model.sim=list("samphold4",4);
-model.in1=-1;
-model.out=-1;
-model.evtin=1;
-model.blocktype="d";
-model.dep_ut=[true,false];
-gr_i=[];
-x=standard_define([2,2],model," ",gr_i);
+ in1 = -1;
+ model = scicos_model();
+ model.sim = list("samphold4",4);
+ model.in1 = -1;
+ model.out = -1;
+ model.evtin = 1;
+ model.blocktype = "d";
+ model.dep_ut = [true,false];
+ gr_i = [];
+ x = standard_define([2,2],model," ",gr_i);
}
SAMPHOLD.prototype.details = function SAMPHOLD() {
}
SAMPHOLD.prototype.get = function SAMPHOLD() {
}
SAMPHOLD.prototype.set = function SAMPHOLD() {
-x=arg1;
-x.model.firing=[];
+ x = arg1;
+ x.model.firing = [];
}
}