From ca1a67f78f7de40a7956c69e41f4ddae2542f4f2 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 2 Jul 2018 22:51:03 +0530 Subject: add options block --- js/Branching/SWITCH_f.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'js/Branching/SWITCH_f.js') diff --git a/js/Branching/SWITCH_f.js b/js/Branching/SWITCH_f.js index fff0ed00..61347cf2 100644 --- a/js/Branching/SWITCH_f.js +++ b/js/Branching/SWITCH_f.js @@ -21,6 +21,11 @@ function SWITCH_f() { return this.x; } SWITCH_f.prototype.get = function SWITCH_f() { + var options = { + nin:["number of inputs",this.nin], + z0:["connected input",this.z0], + } + return options; } SWITCH_f.prototype.set = function SWITCH_f() { this.nin = parseFloat((arguments[0]["nin"])) -- cgit