From 8d5d2c8230b9c232afd82e01039c680e8a8b0094 Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Thu, 30 Sep 2010 03:11:23 +0800 Subject: [PATCH] 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 --- include/default_controls.js | 24 +++--- include/util.js | 103 +------------------------- include/vnc.js | 1 + include/webutil.js | 144 ++++++++++++++++++++++++++++++++++++ tests/base64.html | 1 + tests/canvas.html | 1 + tests/cursor.html | 1 + tests/input.html | 1 + tests/vnc_playback.html | 6 +- tests/ws.html | 1 + tests/wsencoding.html | 1 + vnc_auto.html | 12 +-- 12 files changed, 175 insertions(+), 121 deletions(-) create mode 100644 include/webutil.js diff --git a/include/default_controls.js b/include/default_controls.js index 2864ee71..ceb374bd 100644 --- a/include/default_controls.js +++ b/include/default_controls.js @@ -56,8 +56,8 @@ load: function(target) { // Stylesheet selection dropdown html += '