diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2020-04-11 15:30:18 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2020-04-11 15:30:18 +0300 |
commit | ba0ba69191a08792c7a52753970d819903015e4b (patch) | |
tree | c8f5171e7c057ce48f01c250ca252c31a949c7d3 /js | |
parent | f85a17d1ad1f6de648082e85a089c396ccdcee46 (diff) |
Report GVARs
Diffstat (limited to 'js')
-rw-r--r-- | js/globalVariablesStatus.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/globalVariablesStatus.js b/js/globalVariablesStatus.js index 9fa33e30..57abc6c2 100644 --- a/js/globalVariablesStatus.js +++ b/js/globalVariablesStatus.js @@ -21,5 +21,13 @@ let GlobalVariablesStatus = function () { return data; } + self.update = function ($container) { + for (let i in self.getAll()) { + if (self.getAll().hasOwnProperty(i)) { + $container.find("[data-gvar-index=" + i + "]").html(self.get(i)); + } + } + } + return self; };
\ No newline at end of file |