summaryrefslogtreecommitdiff
path: root/js/IntegerOp/LOGIC.js
diff options
context:
space:
mode:
authorSunil Shetye2018-09-17 16:11:31 +0530
committerSunil Shetye2018-10-08 11:24:12 +0530
commitf389f174481df676c841ebcc87a7b8b313921bbc (patch)
tree2551fd05222a78d4441f5883a97980bda1d6b241 /js/IntegerOp/LOGIC.js
parent4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff)
downloadsci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip
add importset and getContainer to combined.js
Diffstat (limited to 'js/IntegerOp/LOGIC.js')
-rw-r--r--js/IntegerOp/LOGIC.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js
index 8575f03d..72aa91c3 100644
--- a/js/IntegerOp/LOGIC.js
+++ b/js/IntegerOp/LOGIC.js
@@ -79,4 +79,11 @@ function LOGIC() {
LOGIC.prototype.get_popup_title = function LOGIC() {
return this.set_param_popup_title;
}
+ LOGIC.prototype.importset = function LOGIC() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.mat = ary[0];
+ this.herit = ary[1];
+ }
+ LOGIC.prototype.getContainer = function LOGIC() { return new BasicBlock(this.x); }
}