summaryrefslogtreecommitdiff
path: root/js/IntegerOp/LOGIC.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 22:51:03 +0530
committerSunil Shetye2018-07-02 22:51:03 +0530
commitca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch)
tree6a07bd0428e542567726ff7325fcb71203ad6d15 /js/IntegerOp/LOGIC.js
parent5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff)
downloadsci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip
add options block
Diffstat (limited to 'js/IntegerOp/LOGIC.js')
-rw-r--r--js/IntegerOp/LOGIC.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/IntegerOp/LOGIC.js b/js/IntegerOp/LOGIC.js
index 20da4fc3..e06ea999 100644
--- a/js/IntegerOp/LOGIC.js
+++ b/js/IntegerOp/LOGIC.js
@@ -24,6 +24,11 @@ function LOGIC() {
return this.x;
}
LOGIC.prototype.get = function LOGIC() {
+ var options = {
+ mat:["Truth Table (matrix of outputs)",this.mat],
+ herit:["Accepts Inherited Events (0:No, 1:Yes)",this.herit],
+ }
+ return options;
}
LOGIC.prototype.set = function LOGIC() {
this.mat = parseFloat((arguments[0]["mat"]))