-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathindex.html
60 lines (49 loc) · 2.5 KB
/
index.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html><!--HTML5 doctype-->
<html>
<head>
<title>Intel Android</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" charset="utf-8" src="cordova.js"></script>
<script type="text/javascript">
if("lockOrientation" in window.screen) {
window.screen.lockOrientation("landscape");
}
function onDeviceReady(){
//window.device_name = device.name;
//window.device_cordova = device.cordova;
//window.device_platform = device.platform;
//window.device_uuid = device.uuid;
//window.device_version = device.version;
navigator.splashscreen.hide();
if(typeof analytics !== "undefined") {
analytics.startTrackerWithId("#GA-ID#");
if(typeof analytics !== "undefined") {
analytics.setUserId(device.uuid);
}
}
}
document.addEventListener("deviceready", onDeviceReady, false);
</script>
<script type="text/javascript" src="src/plugins/modernizr-2.5.3.min.js"></script>
</head>
<body>
<div id="splash">
<div id="arrow"></div>
</div>
<div id="log" style="position:fixed; bottom:0; right:0; background:#000; color:#fff; z-index:1000; display:none;">Log</div>
<div id="actions" style="position:fixed; bottom:0; left:0; background:#000; color:#fff; z-index:1000; display:none;">
<a id="clear" href="javascript:void(0);" >ClrMem</a>
<a id="restart" href="javascript:void(0);">Restart</a>
<a id="outro" href="javascript:void(0);" >Outro</a>
<a id="prev" href="javascript:void(0);">Prev</a>
<a id="next" href="javascript:void(0);">Next</a>
</div>
<script type="text/javascript" src="src/plugins/jquery-1.10.0.min.js"></script>
<script type="text/javascript" src="src/plugins/plugins.min.js"></script>
<script type="text/javascript" src="src/game/config.js"></script>
<script type="text/javascript" src="src/engine/core.js"></script>
<script type="text/javascript" src="src/game/main.js"></script>
</body>
</html>