diff options
Diffstat (limited to 'js/Sources/Ground_g.js')
-rw-r--r-- | js/Sources/Ground_g.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/Sources/Ground_g.js b/js/Sources/Ground_g.js index 2a20d38d..f70f4de8 100644 --- a/js/Sources/Ground_g.js +++ b/js/Sources/Ground_g.js @@ -15,13 +15,14 @@ function Ground_g() { model.dep_ut = [false,false]; exprs = []; gr_i = []; - x = standard_define([2,2],model,exprs,gr_i); + this.x = standard_define([2,2],model,exprs,gr_i); } Ground_g.prototype.details = function Ground_g() { + return this.x; } Ground_g.prototype.get = function Ground_g() { } Ground_g.prototype.set = function Ground_g() { - x = arg1; + this.x = arg1; } } |