-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (34 loc) · 1.08 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<script src="/static/buggyfill.js"></script>
<title>vue-git</title>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
<script>
window.onload = function () {
window.viewportUnitsBuggyfill.init({
hacks: window.viewportUnitsBuggyfillHacks
});
// var winDPI = window.devicePixelRatio;
// var uAgent = window.navigator.userAgent;
// var screenHeight = window.screen.height;
// var screenWidth = window.screen.width;
// var winWidth = window.innerWidth;
// var winHeight = window.innerHeight;
// alert(
// "Windows DPI:" + winDPI +
// ";\ruAgent:" + uAgent +
// ";\rScreen Width:" + screenWidth +
// ";\rScreen Height:" + screenHeight +
// ";\rWindow Width:" + winWidth +
// ";\rWindow Height:" + winHeight
// )
}
</script>
</body>
</html>