Removed temp comment
This commit is contained in:
parent
a6fab6acd2
commit
d23d15dcf6
29
js/main.js
29
js/main.js
|
@ -33,35 +33,6 @@ $("#playBegin").click(function () {
|
||||||
});
|
});
|
||||||
var data = {}, cQuestion = {}, indexeslist = [], indexesProgress = 0, total = 100;
|
var data = {}, cQuestion = {}, indexeslist = [], indexesProgress = 0, total = 100;
|
||||||
$.getJSON("data.json", function (d) {
|
$.getJSON("data.json", function (d) {
|
||||||
/*
|
|
||||||
d =
|
|
||||||
{
|
|
||||||
"initialScore": 10000,
|
|
||||||
"questions": [
|
|
||||||
{
|
|
||||||
"title": "Who's the best (and sexiest) president:",
|
|
||||||
"answers": [
|
|
||||||
{
|
|
||||||
"text": "<img class='answers-pic' src='assets/img/p0.jpeg'>",
|
|
||||||
"effect": 2000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"text": "<img class='answers-pic' src='assets/img/p2.jpeg'>",
|
|
||||||
"effect": -9999
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"text": "<img class='answers-pic' src='assets/img/p3.jpeg'>",
|
|
||||||
"effect": -9999
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"text": "<img class='answers-pic' src='assets/img/p5.jpeg'>",
|
|
||||||
"effect": -9999
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
data = d;
|
data = d;
|
||||||
total = d["initialScore"];
|
total = d["initialScore"];
|
||||||
$("#counter").html("Social credit score: " + total);
|
$("#counter").html("Social credit score: " + total);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user