summaryrefslogtreecommitdiff
path: root/js/PDE/PDE.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/PDE/PDE.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/PDE/PDE.js')
-rw-r--r--js/PDE/PDE.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/js/PDE/PDE.js b/js/PDE/PDE.js
index 08cb1956..04444e65 100644
--- a/js/PDE/PDE.js
+++ b/js/PDE/PDE.js
@@ -22,7 +22,7 @@ function PDE() {
var params_pde = label[1-1];
this.set_param_popup_title = "PLEASE, GIVE US THE BLOCK\'s NAME. ";
var options = {
- rdnom:["New block\'s name :",this.rdnom],
+ rdnom:["New block\'s name :",this.rdnom],
}
return options;
}
@@ -215,4 +215,10 @@ function PDE() {
PDE.prototype.get_popup_title = function PDE() {
return this.set_param_popup_title;
}
+ PDE.prototype.importset = function PDE() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.rdnom = ary[0];
+ }
+ PDE.prototype.getContainer = function PDE() { return new BasicBlock(this.x); }
}