From 447cd4ade30f80378543b58c8f0dcfbf79c4cc8c Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Tue, 6 Jul 2010 12:14:38 -0500 Subject: [PATCH] Remove unneeded mootools and FABridge test. mootools is no longer needed. The bug that the FABridge test was testing has been resolved in web-socket-js so it's no longer needed. --- LICENSE.txt | 2 - include/default_controls.js | 8 - include/fab-test/FABTest.as | 37 - include/fab-test/FABTestMain.as | 28 - include/fab-test/FABTestMain.swf | Bin 6171 -> 0 bytes include/fab-test/FABTestMessageEvent.as | 14 - include/fab-test/bridge/FABridge.as | 1 - include/fab-test/fab-test.js | 136 -- include/mootools-1.2.4-core-comp.js | 191 -- include/mootools-1.2.4-core.js | 2244 ----------------------- include/mootools.js | 1 - tests/fab.html | 114 -- tests/ws.html | 8 +- tests/wsencoding.html | 1 - 14 files changed, 4 insertions(+), 2781 deletions(-) delete mode 100644 include/fab-test/FABTest.as delete mode 100644 include/fab-test/FABTestMain.as delete mode 100644 include/fab-test/FABTestMain.swf delete mode 100644 include/fab-test/FABTestMessageEvent.as delete mode 120000 include/fab-test/bridge/FABridge.as delete mode 100755 include/fab-test/fab-test.js delete mode 100644 include/mootools-1.2.4-core-comp.js delete mode 100644 include/mootools-1.2.4-core.js delete mode 120000 include/mootools.js delete mode 100644 tests/fab.html diff --git a/LICENSE.txt b/LICENSE.txt index aaa6a0fe..009ede6d 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -3,8 +3,6 @@ LICENSE.LGPL-3) with the following exceptions: include/as3crypto_patched/ : various BSD style licenses - include/mootools* : MIT style license - include/base64.js : Dual GPL-2 or LGPL-2.1 incluee/des.js : Various BSD style licenses diff --git a/include/default_controls.js b/include/default_controls.js index da7a6a7f..55ba75f8 100644 --- a/include/default_controls.js +++ b/include/default_controls.js @@ -8,14 +8,6 @@ "use strict"; /*global $, RFB, Canvas, VNC_uri_prefix, Element, Fx */ -// Load mootools -(function () { - var pre = (typeof VNC_uri_prefix !== "undefined") ? - VNC_uri_prefix : "include/"; - document.write(" - - - - - diff --git a/tests/ws.html b/tests/ws.html index 375af1b9..0a874c43 100644 --- a/tests/ws.html +++ b/tests/ws.html @@ -172,12 +172,12 @@ }; ws.onopen = function(e) { console.log(">> WebSockets.onopen"); - send_ref = send.periodical(sendDelay); + send_ref = setInterval(send, sendDelay); console.log("<< WebSockets.onopen"); }; ws.onclose = function(e) { console.log(">> WebSockets.onclose"); - $clear(send_ref); + clearInterval(send_ref); console.log("<< WebSockets.onclose"); }; ws.onerror = function(e) { @@ -203,7 +203,7 @@ ws.close(); } init_ws(); - update_ref = update_stats.periodical(1); + update_ref = setInterval(update_stats, 1); $('connectButton').value = "Stop"; $('connectButton').onclick = disconnect; @@ -216,7 +216,7 @@ ws.close(); } - $clear(update_ref); + clearInterval(update_ref); update_stats(); // Final numbers recv_seq = 0; send_seq = 0; diff --git a/tests/wsencoding.html b/tests/wsencoding.html index a783467a..cddfbeee 100644 --- a/tests/wsencoding.html +++ b/tests/wsencoding.html @@ -22,7 +22,6 @@ src='http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js'> --> -