diff --git a/js/main.js b/js/main.js index 7fce265..5a8af7e 100644 --- a/js/main.js +++ b/js/main.js @@ -33,35 +33,6 @@ $("#playBegin").click(function () { }); var data = {}, cQuestion = {}, indexeslist = [], indexesProgress = 0, total = 100; $.getJSON("data.json", function (d) { -/* - d = - { - "initialScore": 10000, - "questions": [ - { - "title": "Who's the best (and sexiest) president:", - "answers": [ - { - "text": "", - "effect": 2000 - }, - { - "text": "", - "effect": -9999 - }, - { - "text": "", - "effect": -9999 - }, - { - "text": "", - "effect": -9999 - } - ] - } - ] - }; -*/ data = d; total = d["initialScore"]; $("#counter").html("Social credit score: " + total); @@ -194,4 +165,4 @@ $(".ans").click(function () { $('.fadeOutVideo').on('ended', function () { $(this).parent().fadeOut(); -}) \ No newline at end of file +})