diff options
Diffstat (limited to 'js/Branching/SWITCH2.js')
-rw-r--r-- | js/Branching/SWITCH2.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/Branching/SWITCH2.js b/js/Branching/SWITCH2.js index a816db73..1d89a132 100644 --- a/js/Branching/SWITCH2.js +++ b/js/Branching/SWITCH2.js @@ -70,4 +70,12 @@ function SWITCH2() { SWITCH2.prototype.get_popup_title = function SWITCH2() { return this.set_param_popup_title; } + SWITCH2.prototype.importset = function SWITCH2() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.rule = ary[0]; + this.thra = ary[1]; + this.nzz = ary[2]; + } + SWITCH2.prototype.getContainer = function SWITCH2() { return new BasicBlock(this.x); } } |