Commit f7ec5b2c authored by Joel Martin's avatar Joel Martin

Rename default_controls.js to ui.js.

And DefaultControls to UI.
parent e66f3f89
......@@ -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>
......
<html>
<!--
noVNC example: simple example using default controls
noVNC example: simple example using default UI
Copyright (C) 2010 Joel Martin
Licensed under LGPL-3 (see LICENSE.txt)
-->
......@@ -14,7 +14,7 @@
src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'></script>
-->
<script src="include/vnc.js"></script>
<script src="include/default_controls.js"></script>
<script src="include/ui.js"></script>
</head>
<body>
......@@ -22,7 +22,7 @@
<script>
window.onload = function () {
DefaultControls.load('vnc');
UI.load('vnc');
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment