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'> --> -