From 4e1c5435b84c58ec1c1547806ec9a926dfde97ef Mon Sep 17 00:00:00 2001 From: Samuel Mannehed Date: Sun, 5 Nov 2017 21:40:47 +0100 Subject: [PATCH] Add missing semicolons --- core/encodings.js | 2 +- core/rfb.js | 2 +- core/util/localization.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/encodings.js b/core/encodings.js index 3184ace0..a0551d63 100644 --- a/core/encodings.js +++ b/core/encodings.js @@ -26,7 +26,7 @@ export var encodings = { pseudoEncodingContinuousUpdates: -313, pseudoEncodingCompressLevel9: -247, pseudoEncodingCompressLevel0: -256, -} +}; export function encodingName(num) { switch (num) { diff --git a/core/rfb.js b/core/rfb.js index 3d12ae4b..caa59634 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -45,7 +45,7 @@ export default function RFB(target, url, options) { this._url = url; // Connection details - options = options || {} + options = options || {}; this._rfb_credentials = options.credentials || {}; this._shared = 'shared' in options ? !!options.shared : true; this._repeaterID = options.repeaterID || ''; diff --git a/core/util/localization.js b/core/util/localization.js index fcebf06f..39c91f68 100644 --- a/core/util/localization.js +++ b/core/util/localization.js @@ -164,7 +164,7 @@ Localizer.prototype = { process(document.body, true); }, -} +}; export var l10n = new Localizer(); export default l10n.get.bind(l10n);