diff options
author | samhed <samuel@cendio.se> | 2016-04-26 18:42:10 +0200 |
---|---|---|
committer | samhed <samuel@cendio.se> | 2016-05-12 16:56:50 +0200 |
commit | 0bd2cbacaae3e6c211d48dc6e6d75268a17acc95 (patch) | |
tree | 78b9b46e68a5ea012819cae4bd81effbb838d035 | |
parent | 29475d772847013b53878fef22103d1538477395 (diff) | |
download | novnc-0bd2cbacaae3e6c211d48dc6e6d75268a17acc95.tar.gz |
Remove whitespace from function definitions
-rw-r--r-- | include/ui.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/ui.js b/include/ui.js index 1c87438..f73e6e4 100644 --- a/include/ui.js +++ b/include/ui.js @@ -47,7 +47,7 @@ var UI; // Setup rfb object, load settings from browser storage, then call // UI.init to setup the UI/menus - load: function (callback) { + load: function(callback) { WebUtil.initSettings(UI.start, callback); }, @@ -182,7 +182,7 @@ var UI; } }, - initRFB: function () { + initRFB: function() { try { UI.rfb = new RFB({'target': $D('noVNC_canvas'), 'onUpdateState': UI.updateState, @@ -825,7 +825,7 @@ var UI; // Apply remote resizing or local scaling - applyResizeMode: function () { + applyResizeMode: function() { if (!UI.rfb) return; var screen = UI.screenSize(); @@ -867,7 +867,7 @@ var UI; // The screen is always the same size as the available viewport // in the browser window minus the height of the control bar - screenSize: function () { + screenSize: function() { var screen = $D('noVNC_screen'); // Hide the scrollbars until the size is calculated @@ -951,7 +951,7 @@ var UI; }, // Handle special cases where clipping is forced on/off or locked - enableDisableViewClip: function () { + enableDisableViewClip: function() { var resizeElem = $D('noVNC_resize'); var connected = UI.rfb && UI.rfb_state === 'normal'; |