Rename default_controls.js to ui.js.

And DefaultControls to UI.
This commit is contained in:
Joel Martin
2010-11-10 16:02:19 -06:00
parent e66f3f89f2
commit f7ec5b2cb6
3 changed files with 92 additions and 94 deletions
+4 -4
View File
@@ -142,19 +142,19 @@ There a few reasons why a proxy is required:
The client is designed to be easily integrated with existing web
structure and style.
At a minimum you must include the `vnc.js` and `default_controls.js`
scripts and call DefaultControls.load(). For example:
At a minimum you must include the `vnc.js` and `ui.js` scripts and
call UI.load(). For example:
<head>
<script src='include/vnc.js'></script>
<script src="include/default_controls.js"></script>
<script src="include/ui.js"></script>
</head>
<body>
<div id='vnc'>Loading</div>
<script>
window.onload = function () {
DefaultControls.load('vnc');
UI.load('vnc');
}
</script>
</body>