summaryrefslogtreecommitdiff
path: root/js/Sinks/CEVENTSCOPE.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/Sinks/CEVENTSCOPE.js
parent468de187d0ad59613aa73384976b58b78200ae43 (diff)
downloadsci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.gz
sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.tar.bz2
sci2js-5ea6bd919623bb0dd58f235329b985b2bb6cb4ba.zip
add set block
Diffstat (limited to 'js/Sinks/CEVENTSCOPE.js')
-rw-r--r--js/Sinks/CEVENTSCOPE.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/Sinks/CEVENTSCOPE.js b/js/Sinks/CEVENTSCOPE.js
index 373a49c8..ced61867 100644
--- a/js/Sinks/CEVENTSCOPE.js
+++ b/js/Sinks/CEVENTSCOPE.js
@@ -25,6 +25,12 @@ function CEVENTSCOPE() {
CEVENTSCOPE.prototype.get = function CEVENTSCOPE() {
}
CEVENTSCOPE.prototype.set = function CEVENTSCOPE() {
+ this.nclock = parseFloat((arguments[0]["nclock"]))
+ this.clrs = parseFloat((arguments[0]["clrs"]))
+ this.win = parseFloat((arguments[0]["win"]))
+ this.wpos = parseFloat((arguments[0]["wpos"]))
+ this.wdim = parseFloat((arguments[0]["wdim"]))
+ this.per = parseFloat((arguments[0]["per"]))
this.x = arg1;
graphics = arg1.graphics;
exprs = graphics.exprs;