summaryrefslogtreecommitdiff
path: root/js/Linear/SUMMATION.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/Linear/SUMMATION.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/Linear/SUMMATION.js')
-rw-r--r--js/Linear/SUMMATION.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/js/Linear/SUMMATION.js b/js/Linear/SUMMATION.js
index 665519fc..576abc20 100644
--- a/js/Linear/SUMMATION.js
+++ b/js/Linear/SUMMATION.js
@@ -161,4 +161,12 @@ function SUMMATION() {
SUMMATION.prototype.get_popup_title = function SUMMATION() {
return this.set_param_popup_title;
}
+ SUMMATION.prototype.importset = function SUMMATION() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.Datatype = ary[0];
+ this.sgn = ary[1];
+ this.satur = ary[2];
+ }
+ SUMMATION.prototype.getContainer = function SUMMATION() { return new Summation(this.x); }
}