diff --git a/reports/local-costs/script.js b/reports/local-costs/script.js index 288c048..18af509 100644 --- a/reports/local-costs/script.js +++ b/reports/local-costs/script.js @@ -1,4 +1,4 @@ -function getReportFromServer() { +(function() { var xhr = new XMLHttpRequest(); @@ -21,4 +21,4 @@ function getReportFromServer() { xhr.open('GET', 'Report.json', true); xhr.send(); -} +})();