Skip to content

Commit 73c75ee

Browse files
committed
todo: fix module issue
1 parent c2ca154 commit 73c75ee

File tree

3 files changed

+1203
-2
lines changed

3 files changed

+1203
-2
lines changed

_config.yml

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

index.html

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,49 @@
1-
foo
1+
<meta charset="utf-8">
2+
<title>தென்றல் - Thendral transpiler</title>
3+
4+
<style>
5+
.container {
6+
display: flex;
7+
flex-direction: row;
8+
column-gap: 10px;
9+
height: 90%;
10+
align-content: center;
11+
justify-content: center;
12+
13+
}
14+
15+
.textarea {
16+
height: 100%;
17+
flex-grow: 0.4;
18+
}
19+
20+
.description {
21+
flex-grow: 0.4;
22+
}
23+
24+
</style>
25+
26+
<div class="container">
27+
<textarea class="textarea"></textarea>
28+
<textarea class="textarea"></textarea>
29+
<textarea class="textarea"></textarea>
30+
</div>
31+
<div class="container">
32+
<p class="description">Thendral</p>
33+
<p class="description">Translated JS Code</p>
34+
<p class="description">Output</p>
35+
</div>
36+
37+
<script data-main="scripts/thendral" src="scripts/require.js"></script>
38+
<script>
39+
40+
window.addEventListener("load", () => {
41+
42+
window.thendral = require("Transpiler").thendral
43+
44+
45+
46+
47+
})
48+
49+
</script>

0 commit comments

Comments
 (0)