diff options
author | Sunil Shetye | 2018-09-17 16:11:31 +0530 |
---|---|---|
committer | Sunil Shetye | 2018-10-08 11:24:12 +0530 |
commit | f389f174481df676c841ebcc87a7b8b313921bbc (patch) | |
tree | 2551fd05222a78d4441f5883a97980bda1d6b241 /js/Sinks/TOWS_c.js | |
parent | 4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff) | |
download | sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2 sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip |
add importset and getContainer to combined.js
Diffstat (limited to 'js/Sinks/TOWS_c.js')
-rw-r--r-- | js/Sinks/TOWS_c.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/Sinks/TOWS_c.js b/js/Sinks/TOWS_c.js index e3fa3f0f..e001e116 100644 --- a/js/Sinks/TOWS_c.js +++ b/js/Sinks/TOWS_c.js @@ -82,4 +82,12 @@ function TOWS_c() { TOWS_c.prototype.get_popup_title = function TOWS_c() { return this.set_param_popup_title; } + TOWS_c.prototype.importset = function TOWS_c() { + var graphics = this.x.graphics; + var ary = getData(graphics.exprs); + this.nz = ary[0]; + this.varnam = ary[1]; + this.herit = ary[2]; + } + TOWS_c.prototype.getContainer = function TOWS_c() { return new BasicBlock(this.x); } } |