-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (29 loc) · 809 Bytes
/
index.html
File metadata and controls
34 lines (29 loc) · 809 Bytes
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>coditor</title>
</head>
<body>
<coditor></coditor>
<!-- built files will be auto injected-->
<script>
window.coditor = {}
coditor.cfg = [{
name: 'Tab 1',
value: 'function helloWorld () {\n var name = "Coditor";\n console.log(name);\n ;\n}',
mode: 'javascript',
lineNumbers: false
}, {
name: 'Tab 2',
value: 'public class HelloWorld {\n public static void main(String[] args) {\n // Prints "Hello, World" to the terminal window.\n System.out.println("Hello, World");\n }\n}',
mode: 'text/x-java',
theme: 'monokai'
}];
coditor.http = {
url: 'http://localhost:8080/post',
type: 'get'
}
</script>
</body>
</html>