summaryrefslogtreecommitdiff
path: root/js/Sources/CONST.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 20:21:14 +0530
committerSunil Shetye2018-07-02 21:20:51 +0530
commit5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (patch)
tree15164190cae390d0a701fcd7ce99fa3addb4134c /js/Sources/CONST.js
parent468de187d0ad59613aa73384976b58b78200ae43 (diff)
downloadsci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.gz
sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.bz2
sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.zip
add set block
Diffstat (limited to 'js/Sources/CONST.js')
-rw-r--r--js/Sources/CONST.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/Sources/CONST.js b/js/Sources/CONST.js
index 751ef000..5d5498a4 100644
--- a/js/Sources/CONST.js
+++ b/js/Sources/CONST.js
@@ -20,6 +20,7 @@ function CONST() {
CONST.prototype.get = function CONST() {
}
CONST.prototype.set = function CONST() {
+ this.C = parseFloat((arguments[0]["C"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;