summaryrefslogtreecommitdiff
path: root/js/Sources/CURVE_c.js
diff options
context:
space:
mode:
authorSunil Shetye2018-09-17 16:11:31 +0530
committerSunil Shetye2018-10-08 11:24:12 +0530
commitf389f174481df676c841ebcc87a7b8b313921bbc (patch)
tree2551fd05222a78d4441f5883a97980bda1d6b241 /js/Sources/CURVE_c.js
parent4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff)
downloadsci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip
add importset and getContainer to combined.js
Diffstat (limited to 'js/Sources/CURVE_c.js')
-rw-r--r--js/Sources/CURVE_c.js10
1 files changed, 10 insertions, 0 deletions
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); }
}