summaryrefslogtreecommitdiff
path: root/js/Misc/DEBUG.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/DEBUG.js')
-rw-r--r--js/Misc/DEBUG.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js
index eb8969d4..fd1547c1 100644
--- a/js/Misc/DEBUG.js
+++ b/js/Misc/DEBUG.js
@@ -1,12 +1,12 @@
/* autogenerated from "macros/Misc/DEBUG.sci" */
function DEBUG() {
DEBUG.prototype.define = function DEBUG() {
- model = scicos_model();
- model.sim = list("%debug_scicos",99);
- model.blocktype = "d";
+ this.model = scicos_model();
+ this.model.sim = list("%debug_scicos",99);
+ this.model.blocktype = new ScilabString("d");
exprs = list("","xcos_debug_gui(flag,block);");
gr_i = [];
- this.x = standard_define([8,2],model,exprs,gr_i);
+ this.x = standard_define([8,2],this.model,exprs,gr_i);
return new BasicBlock(this.x);
}
DEBUG.prototype.details = function DEBUG() {