diff options
Diffstat (limited to 'js/Misc/DEBUG.js')
-rw-r--r-- | js/Misc/DEBUG.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js index a8f8c683..9352edb5 100644 --- a/js/Misc/DEBUG.js +++ b/js/Misc/DEBUG.js @@ -2,8 +2,8 @@ function DEBUG() { DEBUG.prototype.define = function DEBUG() { this.model = scicos_model(); - this.model.sim = list(new ScilabString("%debug_scicos"),new ScilabDouble(99)); - this.model.blocktype = new ScilabString("d"); + this.model.sim = list(new ScilabString(["%debug_scicos"]), new ScilabDouble([99])); + this.model.blocktype = new ScilabString(["d"]); exprs = list("","xcos_debug_gui(flag,block);"); gr_i = []; this.x = standard_define([8,2],this.model,exprs,gr_i); |