-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (40 loc) · 1.63 KB
/
index.html
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
<html>
<head>
<title>HWCore</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://hw-core.github.io/hwc-js-framework/srv/assets/js/hwc-js-framework.bundle.js"></script>
</head>
<body>
<div id="main">
<center>
<h1>HW-Core Framework</h1>
<h2>THIS PAGE IS UNDER CONSTRUCTION</h2>
Project documentations:
<ul style="list-style: none; line-height:40px">
<li><a href="/js-kernel/">Js-Kernel</a></li>
<li><a href="/js-lib-class/">Js-lib-Class</a></li>
</ul>
<script>
const $ = hwc;
var Expr = $.public.class(
$.protected({
x: undefined,
y: undefined
}),
$.public("__construct", function (x, y) {
this.i.x = x;
this.i.y = y;
}),
$.public.final({
sum: $.typeHint(Number, function () {
return this.i.x + this.i.y;
})
})
);
document.write("If this sum is correct HW-Core is working on this page: 2+2 = "+new Expr(2, 2).sum());
</script>
</center>
</div>
</body>
</html>