diff --git a/include/display.js b/include/display.js index 486a67ad..4b248968 100644 --- a/include/display.js +++ b/include/display.js @@ -8,7 +8,6 @@ */ /*jslint browser: true, white: false */ -/*global Util, Base64, changeCursor */ var Util = require('./util'); diff --git a/include/input.js b/include/input.js index b729fe31..eb680ae6 100644 --- a/include/input.js +++ b/include/input.js @@ -6,7 +6,6 @@ */ /*jslint browser: true, white: false */ -/*global window, Util */ var Util = require('./util'); var kbdUtil = require('./keyboard').kbdUtil; diff --git a/include/playback.js b/include/playback.js index c5a00179..2ab07355 100644 --- a/include/playback.js +++ b/include/playback.js @@ -6,7 +6,6 @@ "use strict"; /*jslint browser: true, white: false */ -/*global Util, VNC_frame_data, finish */ var Util = require('./util'); diff --git a/include/rfb.js b/include/rfb.js index 64a9bc5d..632e8a36 100644 --- a/include/rfb.js +++ b/include/rfb.js @@ -11,7 +11,6 @@ */ /*jslint white: false, browser: true */ -/*global window, Util, Display, Keyboard, Mouse, Websock, Websock_native, Base64, DES */ var Util = require('./util'); var Display = require('./display'); diff --git a/include/ui.js b/include/ui.js index a6ab11d2..6636d7a6 100644 --- a/include/ui.js +++ b/include/ui.js @@ -8,7 +8,6 @@ */ /* jslint white: false, browser: true */ -/* global window, $D, Util, WebUtil, RFB, Display */ var WebUtil = require('./webutil'); var Util = require('./util'); diff --git a/include/util.js b/include/util.js index 1b9dc33c..11044e5e 100644 --- a/include/util.js +++ b/include/util.js @@ -7,7 +7,6 @@ */ /* jshint white: false, nonstandard: true */ -/*global window, console, document, navigator, ActiveXObject, INCLUDE_URI */ // Globals defined here var Util = {}; diff --git a/include/websock.js b/include/websock.js index 77c30cbe..a76f171e 100644 --- a/include/websock.js +++ b/include/websock.js @@ -15,7 +15,8 @@ */ /*jslint browser: true, bitwise: true */ -/*global Util*/ + +var Util = require('./util'); // Load Flash WebSocket emulator if needed @@ -25,8 +26,6 @@ // To enable WebSocket emulator debug: //window.WEB_SOCKET_DEBUG=1; -var Util = require('./util'); - if (window.WebSocket && !window.WEB_SOCKET_FORCE_FLASH) { Websock_native = true; } else if (window.MozWebSocket && !window.WEB_SOCKET_FORCE_FLASH) { diff --git a/include/webutil.js b/include/webutil.js index 0c4fe0e6..657d3cd1 100644 --- a/include/webutil.js +++ b/include/webutil.js @@ -8,7 +8,6 @@ */ /*jslint bitwise: false, white: false, browser: true, devel: true */ -/*global Util, window, document */ var Util = require('./util');