Remove whitespace from function definitions

This commit is contained in:
samhed 2016-04-26 18:42:10 +02:00
parent 29475d7728
commit 0bd2cbacaa
1 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ var UI;
// Setup rfb object, load settings from browser storage, then call // Setup rfb object, load settings from browser storage, then call
// UI.init to setup the UI/menus // UI.init to setup the UI/menus
load: function (callback) { load: function(callback) {
WebUtil.initSettings(UI.start, callback); WebUtil.initSettings(UI.start, callback);
}, },
@ -182,7 +182,7 @@ var UI;
} }
}, },
initRFB: function () { initRFB: function() {
try { try {
UI.rfb = new RFB({'target': $D('noVNC_canvas'), UI.rfb = new RFB({'target': $D('noVNC_canvas'),
'onUpdateState': UI.updateState, 'onUpdateState': UI.updateState,
@ -825,7 +825,7 @@ var UI;
// Apply remote resizing or local scaling // Apply remote resizing or local scaling
applyResizeMode: function () { applyResizeMode: function() {
if (!UI.rfb) return; if (!UI.rfb) return;
var screen = UI.screenSize(); var screen = UI.screenSize();
@ -867,7 +867,7 @@ var UI;
// The screen is always the same size as the available viewport // The screen is always the same size as the available viewport
// in the browser window minus the height of the control bar // in the browser window minus the height of the control bar
screenSize: function () { screenSize: function() {
var screen = $D('noVNC_screen'); var screen = $D('noVNC_screen');
// Hide the scrollbars until the size is calculated // 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 // Handle special cases where clipping is forced on/off or locked
enableDisableViewClip: function () { enableDisableViewClip: function() {
var resizeElem = $D('noVNC_resize'); var resizeElem = $D('noVNC_resize');
var connected = UI.rfb && UI.rfb_state === 'normal'; var connected = UI.rfb && UI.rfb_state === 'normal';