From f389f174481df676c841ebcc87a7b8b313921bbc Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 17 Sep 2018 16:11:31 +0530 Subject: add importset and getContainer to combined.js --- js/Electrical/Gyrator.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'js/Electrical/Gyrator.js') diff --git a/js/Electrical/Gyrator.js b/js/Electrical/Gyrator.js index 71c2b2af..8519cdd0 100644 --- a/js/Electrical/Gyrator.js +++ b/js/Electrical/Gyrator.js @@ -82,4 +82,11 @@ function Gyrator() { Gyrator.prototype.get_popup_title = function Gyrator() { return this.set_param_popup_title; } + Gyrator.prototype.importset = function Gyrator() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.G1 = ary[0]; + this.G2 = ary[1]; + } + Gyrator.prototype.getContainer = function Gyrator() { return new BasicBlock(this.x); } } -- cgit