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/Sources/CURVE_c.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'js/Sources/CURVE_c.js') diff --git a/js/Sources/CURVE_c.js b/js/Sources/CURVE_c.js index 5c62f653..7cbaa41f 100644 --- a/js/Sources/CURVE_c.js +++ b/js/Sources/CURVE_c.js @@ -171,4 +171,14 @@ function CURVE_c() { CURVE_c.prototype.get_popup_title = function CURVE_c() { return this.set_param_popup_title; } + CURVE_c.prototype.importset = function CURVE_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.Method = ary[0]; + this.xx = ary[1]; + this.yy = ary[2]; + this.PeriodicOption = ary[3]; + this.graf = ary[4]; + } + CURVE_c.prototype.getContainer = function CURVE_c() { return new BasicBlock(this.x); } } -- cgit