summaryrefslogtreecommitdiff
path: root/js/Linear/GAINBLK.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Linear/GAINBLK.js')
-rw-r--r--js/Linear/GAINBLK.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/Linear/GAINBLK.js b/js/Linear/GAINBLK.js
index 0c75a5a7..e5411e83 100644
--- a/js/Linear/GAINBLK.js
+++ b/js/Linear/GAINBLK.js
@@ -174,4 +174,11 @@ function GAINBLK() {
GAINBLK.prototype.get_popup_title = function GAINBLK() {
return this.set_param_popup_title;
}
+ GAINBLK.prototype.importset = function GAINBLK() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.gain = ary[0];
+ this.over = ary[1];
+ }
+ GAINBLK.prototype.getContainer = function GAINBLK() { return new BasicBlock(this.x); }
}