Skip to content

Commit 511df90

Browse files
committed
Update README;
1 parent b3bb621 commit 511df90

File tree

2 files changed

+66
-18
lines changed

2 files changed

+66
-18
lines changed

aliases.moon

Lines changed: 62 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,69 @@
11
{
2-
'^imag': 'Texture',
3-
'^fbo$': 'Canvas',
4-
'^frameb': 'Canvas',
5-
'render\\s*tex': 'Canvas',
6-
'^rtt': 'Canvas',
7-
'^soun': 'audio',
8-
'^love$': 'lovr',
9-
'^rng': 'random',
10-
'matr': 'Transform',
11-
'netw': 'enet',
12-
'multip': 'enet',
13-
'sock': 'enet',
14-
'udp': 'enet',
15-
'glsl': 'Shader',
16-
'batc.*': 'instance',
17-
'msaa': 'lovr.conf',
18-
'multis': 'lovr.conf',
2+
'^imag': 'Texture'
3+
'^fbo$': 'Canvas'
4+
'^frameb': 'Canvas'
5+
'render\\s*tex': 'Canvas'
6+
'^rtt': 'Canvas'
7+
'^soun': 'audio'
8+
'^love': 'lovr'
9+
'^unity': 'lovr'
10+
'^rng': 'random'
11+
'matr': 'Transform'
12+
'netw': 'enet'
13+
'multip': 'enet'
14+
'sock': 'enet'
15+
'udp': 'enet'
16+
'glsl': 'Shader'
17+
'batc.*': 'instance'
18+
'msaa': 'lovr.conf'
19+
'multis': 'lovr.conf'
1920
'antia': 'lovr.conf'
2021

21-
'partic': {
22+
'^partic': {
2223
type: 'unsupported',
2324
feature: 'Particles'
2425
}
26+
27+
'^threa': {
28+
type: 'unsupported',
29+
feature: 'Threads'
30+
}
31+
32+
'^overla': {
33+
type: 'unsupported',
34+
feature: 'Overlays'
35+
}
36+
37+
'http': {
38+
type: 'unsupported',
39+
feature: 'HTTP requests'
40+
}
41+
42+
'video': {
43+
type: 'unsupported',
44+
feature: 'Video playback'
45+
}
46+
47+
'bezi': {
48+
type: 'unsupported',
49+
feature: 'Bezier curves'
50+
}
51+
52+
'(android|cardboard|gear|daydream|mobile)': {
53+
type: 'unsupported',
54+
feature: 'Mobile VR'
55+
}
56+
57+
'^(ar\\s*kit|ar\\s*core|augm.*)$': {
58+
type: 'unsupported',
59+
feature: 'Augmented Reality'
60+
}
61+
62+
'hi': {
63+
type: 'hi'
64+
}
65+
66+
'(unity|unreal)': {
67+
type: 'no'
68+
}
2569
}

static/js/src/docs.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,10 @@ function updateResults() {
294294
html = message.feature + ' ' + (/s$/.test(message.feature) ? 'are' : 'is') + ' not supported yet. ';
295295
html += 'Head over to the <a href="https://github.com/bjornbytes/lovr/issues" target="_blank">issues page</a> ';
296296
html += 'for up-to-date status and discussion about new features.';
297+
} else if (message.type === 'hi') {
298+
html = 'Hey.';
299+
} else if (message.type === 'no') {
300+
html = 'No.';
297301
}
298302

299303
aliasMessage.innerHTML = html;

0 commit comments

Comments
 (0)