Removed temp comment
This commit is contained in:
parent
a6fab6acd2
commit
d23d15dcf6
31
js/main.js
31
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);
|
||||||
|
@ -194,4 +165,4 @@ $(".ans").click(function () {
|
||||||
|
|
||||||
$('.fadeOutVideo').on('ended', function () {
|
$('.fadeOutVideo').on('ended', function () {
|
||||||
$(this).parent().fadeOut();
|
$(this).parent().fadeOut();
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user