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/Linear/DLR.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'js/Linear/DLR.js') diff --git a/js/Linear/DLR.js b/js/Linear/DLR.js index 04ada0c5..3f81e918 100644 --- a/js/Linear/DLR.js +++ b/js/Linear/DLR.js @@ -93,4 +93,11 @@ function DLR() { DLR.prototype.get_popup_title = function DLR() { return this.set_param_popup_title; } + DLR.prototype.importset = function DLR() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.num = ary[0]; + this.den = ary[1]; + } + DLR.prototype.getContainer = function DLR() { return new BasicBlock(this.x); } } -- cgit