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/Electrical/Inductor.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'js/Electrical/Inductor.js') diff --git a/js/Electrical/Inductor.js b/js/Electrical/Inductor.js index 321f3f18..0e497d10 100644 --- a/js/Electrical/Inductor.js +++ b/js/Electrical/Inductor.js @@ -26,7 +26,10 @@ function Inductor() { return this.x; } Inductor.prototype.get = function Inductor() { - alert("parameters cannot be modified"); + var options = { + L:["L (H)",this.L], + } + return options; } Inductor.prototype.set = function Inductor() { this.exprs = this.graphics.exprs; -- cgit