Skip to content

Commit a4b2d5b

Browse files
committed
added build, upgraded jspm, fixed unsupported
1 parent f78e882 commit a4b2d5b

File tree

13 files changed

+10486
-116
lines changed

13 files changed

+10486
-116
lines changed

_config.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

config.js

Lines changed: 0 additions & 85 deletions
This file was deleted.

dist/jspointerlock.js

Lines changed: 95 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jspointerlock.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
html, body {
2+
margin: 0;
3+
height: 100%;
4+
width: 100%;
5+
display: flex;
6+
flex-direction: column;
7+
justify-content: center;
8+
align-items: center;
9+
font-family: monospace;
10+
user-select: none;
11+
}
12+
13+
.rectangle {
14+
background-color: #CCCCCC;
15+
height: 40vw;
16+
width: 60vw;
17+
border-radius: 3px;
18+
display: flex;
19+
flex-direction: column;
20+
justify-content: center;
21+
align-items: center;
22+
transition: background-color 2s;
23+
cursor: pointer;
24+
}
25+
26+
.rectangle.locked {
27+
background-color: #CCFFCC;
28+
}
29+
30+
.info {
31+
font-size: 6vw;
32+
text-align: center;
33+
}
34+
35+
.info.error {
36+
color: #FF7777;
37+
}

docs/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<title>jsPointerLock</title>
6+
<meta charset="utf-8">
7+
<link rel="stylesheet" href="index.css">
8+
</head>
9+
10+
<body>
11+
<div class="rectangle">
12+
<div class="info">click here</div>
13+
</div>
14+
<script src="index.js"></script>
15+
</body>
16+
17+
</html>

0 commit comments

Comments
 (0)