-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (31 loc) · 804 Bytes
/
index.html
File metadata and controls
42 lines (31 loc) · 804 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
35
36
37
38
39
40
41
42
<html>
<head>
<title>Controller</title>
<link rel="stylesheet" type="text/css" href="/ext-4.2.1.883/resources/ext-theme-neptune/ext-theme-neptune-all.css">
</head>
<body>
<div id="foobar"></div>
</body>
<script type="text/javascript" src="ext-4.2.1.883/ext-all-debug.js"></script>
<script type="text/javascript" src="observui/bundle.js"></script>
<script type="text/javascript" src="observui/app.js"></script>
<script type="text/javascript">
/*
var myObj;
Ext.onReady(function ()
{
var client = Ext.create("observ.Client");
client.connectHttp();
client.get(2, function (o)
{
myObj = o;
myObj.on("remote-set", function ()
{
Ext.get("foobar").update(myObj.get("foo"));
// console.log("remote event received", arguments);
});
});
console.log(client);
});*/
</script>
</html>