forked from selenite-cc/selenite-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (31 loc) · 1.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="/js/all.js"></script>
<meta charset="utf-8">
<title>Dadish POKI</title>
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="shortcut icon" type="image/png" href="./favicon.png">
<!-- added this line for Poki -->
<script src="poki-sdk.js"></script>
<script type="text/javascript" src="./Dadish.js"></script>
<script>
window.addEventListener ("touchmove", function (event) { event.preventDefault (); }, { capture: false, passive: false });
if (typeof window.devicePixelRatio != 'undefined' && window.devicePixelRatio > 2) {
var meta = document.getElementById ("viewport");
meta.setAttribute ('content', 'width=device-width, initial-scale=' + (2 / window.devicePixelRatio) + ', user-scalable=no');
}
</script>
<style>
html,body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
#content { background: #000000; width: 100%; height: 100%; }
</style>
</head>
<body>
<div id="content"></div>
<script type="text/javascript">
lime.embed ("Dadish POKI", "content", 768, 432);
</script>
</body>
</html>