From ed5573e8061862db46e6c986405623b9487597fc Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Wed, 21 Jul 2010 18:32:50 +0200 Subject: [PATCH] * Use zoom if present to avoid layout problem with scale * Create a init.js file that does initialization if wanted (with Cappuccino we do not want to) * Update the demo files --- include/canvas.js | 65 ++++++++++++++++++++++++++++--------- include/default_controls.js | 21 +++++++++++- include/util.js | 9 +++-- include/vnc.js | 40 +---------------------- vnc.html | 1 + vnc_auto.html | 1 + 6 files changed, 79 insertions(+), 58 deletions(-) diff --git a/include/canvas.js b/include/canvas.js index af52227..b8efa39 100644 --- a/include/canvas.js +++ b/include/canvas.js @@ -10,19 +10,8 @@ /*jslint white: false, bitwise: false */ /*global window, $, Util */ -var Canvas, Canvas_native; -(function () { - var pre, start = " --> + diff --git a/vnc_auto.html b/vnc_auto.html index 22ca135..4c33183 100644 --- a/vnc_auto.html +++ b/vnc_auto.html @@ -13,6 +13,7 @@ Connect parameters are provided in query string: --> +