summaryrefslogtreecommitdiff
path: root/js/IntegerOp/DFLIPFLOP.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-17 12:01:51 +0530
committerSunil Shetye2018-07-18 11:36:15 +0530
commit0b627cfc50bb740a3a3f110285253e4f404e012f (patch)
treead0f68f5fe8aac76706b72487b938c74f771b8d7 /js/IntegerOp/DFLIPFLOP.js
parent8ce53461fe09f5102deeaedbb87bfc0d4f996ed2 (diff)
downloadsci2js-0b627cfc50bb740a3a3f110285253e4f404e012f.tar.gz
sci2js-0b627cfc50bb740a3a3f110285253e4f404e012f.tar.bz2
sci2js-0b627cfc50bb740a3a3f110285253e4f404e012f.zip
handle case when there are no options
Diffstat (limited to 'js/IntegerOp/DFLIPFLOP.js')
-rw-r--r--js/IntegerOp/DFLIPFLOP.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/IntegerOp/DFLIPFLOP.js b/js/IntegerOp/DFLIPFLOP.js
index 7a0219c8..33c1721b 100644
--- a/js/IntegerOp/DFLIPFLOP.js
+++ b/js/IntegerOp/DFLIPFLOP.js
@@ -96,9 +96,7 @@ function DFLIPFLOP() {
return this.x;
}
DFLIPFLOP.prototype.get = function DFLIPFLOP() {
- var options = {
- }
- return options;
+ alert("parameters cannot be modified");
}
DFLIPFLOP.prototype.set = function DFLIPFLOP() {
return new BasicBlock(this.x);