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.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Misc/DEBUG.js b/js/Misc/DEBUG.js
index 7c29a588..70f7ce11 100644
--- a/js/Misc/DEBUG.js
+++ b/js/Misc/DEBUG.js
@@ -7,6 +7,7 @@ function DEBUG() {
exprs = list("","xcos_debug_gui(flag,block);");
gr_i = [];
this.x = standard_define([8,2],model,exprs,gr_i);
+ return new BasicBlock(this.x);
}
DEBUG.prototype.details = function DEBUG() {
return this.x;
@@ -45,5 +46,6 @@ function DEBUG() {
graphics.exprs = exprs;
this.x.graphics = graphics;
}
+ return new BasicBlock(this.x);
}
}