From b560ce4b4abb5450dce9a06a7bcddde3b96c1e2c Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Wed, 22 Aug 2018 21:18:08 +0530 Subject: support single option blocks --- js/Branching/MUX.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js/Branching/MUX.js') diff --git a/js/Branching/MUX.js b/js/Branching/MUX.js index 4d221b68..2aab447c 100644 --- a/js/Branching/MUX.js +++ b/js/Branching/MUX.js @@ -18,7 +18,10 @@ function MUX() { return this.x; } MUX.prototype.get = function MUX() { - alert("parameters cannot be modified"); + var options = { + in1:["number of input ports or vector of sizes",this.in1], + } + return options; } MUX.prototype.set = function MUX() { this.exprs = this.graphics.exprs; -- cgit