-
Notifications
You must be signed in to change notification settings - Fork 0
/
covid-19.html
35 lines (34 loc) · 884 Bytes
/
covid-19.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html>
<head>
<meta autor="César Aguirre. TT @CesareoAguirre."
<meta charset="utf-8">
<title>COVID-19.js</title>
</head>
<body>
<script src="js/covid-19.js"></script>
<script src="js/covid-19-db.js"></script>
<script src="js/covid-19-locations.js"></script>
<script language="javascript">
var inited=false;
var appCoronavirusMundial=null;
function init(){
if (inited)return;
// console.log("init")
var diseaseRecords=new SMDiseaseRecords("World-Records-DB", world_records);
}
var sceneConstructors=new Array();
function prepareAnimations(){
var controller = new ScrollMagic.Controller();
for (c = 0; c < sceneConstructors.length; c++){
sceneConstructors[c](controller, -50);
}
}
document.addEventListener("DOMContentLoaded", function(event) {
window.onload = function() {
init()
};
});
</script>
</body>
</html>