From d23d15dcf6afdc34f19ab398678492e4aee13767 Mon Sep 17 00:00:00 2001 From: MatMasIt Date: Sun, 21 Nov 2021 18:38:27 +0100 Subject: [PATCH] Removed temp comment --- js/main.js | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) 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 +})