-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.html
More file actions
33 lines (28 loc) · 947 Bytes
/
test.html
File metadata and controls
33 lines (28 loc) · 947 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
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>TODO supply a title</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./src/class.js"></script>
<script src="./src/object.js"></script>
</head>
<body>
<div>TODO write content</div>
<script>
function Animal(){
Class.inherit(this,ObjectBase);
this.defineProperty("name");
this.onPropertyValueChanged(function(name){
console.log(name);
});
}
var obj1 = new Animal();
</script>
</body>
</html>