Split util into two file:
- util.js that contains essential functions - webutils.js that contains the GUI utility function.js this helps to include noVNC in other project, especially Cappuccino Application i
This commit is contained in:
committed by
Joel Martin
parent
a679a97d1b
commit
8d5d2c8230
@@ -50,7 +50,7 @@
|
||||
cell.scrollTop = cell.scrollHeight;
|
||||
}
|
||||
|
||||
fname = Util.getQueryVar('data', null);
|
||||
fname = WebUtil.getQueryVar('data', null);
|
||||
|
||||
if (fname) {
|
||||
message("Loading " + fname);
|
||||
@@ -109,9 +109,9 @@
|
||||
}
|
||||
|
||||
window.onload = function() {
|
||||
iterations = Util.getQueryVar('iterations', 3);
|
||||
iterations = WebUtil.getQueryVar('iterations', 3);
|
||||
$('iterations').value = iterations;
|
||||
mode = Util.getQueryVar('mode', 3);
|
||||
mode = WebUtil.getQueryVar('mode', 3);
|
||||
if (mode === 'realtime') {
|
||||
$('mode2').checked = true;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user