diff options
Diffstat (limited to 'assets/js/community.js')
| -rw-r--r-- | assets/js/community.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/assets/js/community.js b/assets/js/community.js index 754ec6d3..4077f1cd 100644 --- a/assets/js/community.js +++ b/assets/js/community.js @@ -1,3 +1,5 @@ +var community_data = JSON.parse(document.getElementById('community_data').innerHTML); + String.prototype.supplant = function (o) { return this.replace(/{([^{}]*)}/g, function (a, b) { var r = o[b]; |
