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/Electrical/Resistor.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/Electrical/Resistor.js') diff --git a/js/Electrical/Resistor.js b/js/Electrical/Resistor.js index fb284839..7c6147d6 100644 --- a/js/Electrical/Resistor.js +++ b/js/Electrical/Resistor.js @@ -26,6 +26,9 @@ function Resistor() { return this.x; } Resistor.prototype.get = function Resistor() { + var options = { + } + return options; } Resistor.prototype.set = function Resistor() { this.R = parseFloat((arguments[0]["R"])) -- cgit