-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
91 lines (82 loc) · 2.09 KB
/
index.html
File metadata and controls
91 lines (82 loc) · 2.09 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>NativeJS Test Page</title>
<style type="text/css">
body {
margin: 4px;
background-color: #202020;
color: white;
}
pre.logo {
color: gold;
font-size: 10px;
}
#repl_input, #repl_output {
font-family: Monaco, 'Courier New';
font-size: 11pt;
background-color: black;
color: lime;
}
#repl {
border: 2px solid white;
background-color: black;
margin: 8px;
padding: 4px;
}
#repl_output {
min-height: 250px;
border-bottom: 1px dashed white;
}
#repl_input {
border: none;
width: 100%;
}
#repl_input {
}
</style>
<script type="application/javascript" src="build/native.js"></script>
<script>
/* <![CDATA[ */
document.onload = function() {
//$ = document.getElementById;
$('repl_input').focus();
var ctx = $('can').getContext('2d')
ctx.fillStyle = "rgb(200,0,0)";
ctx.fillRect (10, 10, 55, 50);
ctx.fillStyle = "rgba(0, 0, 200, 0.5)";
ctx.fillRect (30, 30, 55, 50);
}
/* ]]> */
</script>
</head>
<body>
<div align="center">
<!--canvas id="can" height="250" style="width: 100%;"-->
<pre class="logo">
**** **** || //-\\
** ** ** ** || || || || ||
** ** ** ** \||\ //--\\ || ||
** ** ** ** || || \\ // // \\ || \\-\\
** ** ************ || || \\ // ||-----|| || ||
** ** ** ** || || \\ // \\ || || || ||
** **** ** \\ || \\// \\--// \\--// \\-//
</pre>
<!--/canvas-->
</div>
<h1>NativeJS - JavaScript Library</h1>
<div id="repl">
<div id="repl_output">
> NativeJS - REPL
</div>
<div>
<table width="100%">
<tr>
<td id="repl_prefix">></td>
<td width="100%"><input id="repl_input" /></td>
</tr>
</table>
</div>
</div>
</body>
</html>