diff options
author | Pierre Ossman <ossman@cendio.se> | 2018-09-06 16:43:31 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2018-09-06 16:43:31 +0200 |
commit | 6786fd87193a6e3d392c4ab00295c6a2b898c71e (patch) | |
tree | 4f9d02e1acd68ea0b3fc17a7e234da2607b9dc98 /core | |
parent | 7b536961b2219f33423a7c0709e06779def1c887 (diff) | |
download | novnc-6786fd87193a6e3d392c4ab00295c6a2b898c71e.tar.gz |
Enforce comma spacing
Diffstat (limited to 'core')
-rw-r--r-- | core/base64.js | 2 | ||||
-rw-r--r-- | core/des.js | 2 | ||||
-rw-r--r-- | core/display.js | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/core/base64.js b/core/base64.js index 895aa46..7871c53 100644 --- a/core/base64.js +++ b/core/base64.js @@ -43,6 +43,7 @@ export default { }, /* Convert Base64 data to a string */ + /* eslint-disable comma-spacing */ toBinaryTable : [ -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, @@ -53,6 +54,7 @@ export default { -1,26,27,28, 29,30,31,32, 33,34,35,36, 37,38,39,40, 41,42,43,44, 45,46,47,48, 49,50,51,-1, -1,-1,-1,-1 ], + /* eslint-enable comma-spacing */ decode(data, offset) { offset = typeof(offset) !== 'undefined' ? offset : 0; diff --git a/core/des.js b/core/des.js index 5adc7ae..175066b 100644 --- a/core/des.js +++ b/core/des.js @@ -75,6 +75,8 @@ * fine Java utilities: http://www.acme.com/java/ */ +/* eslint-disable comma-spacing */ + export default function DES(passwd) { "use strict"; diff --git a/core/display.js b/core/display.js index d6db075..8c0a0c1 100644 --- a/core/display.js +++ b/core/display.js @@ -457,7 +457,7 @@ export default class Display { } } - blitRgbImage(x, y , width, height, arr, offset, from_queue) { + blitRgbImage(x, y, width, height, arr, offset, from_queue) { if (this._renderQ.length !== 0 && !from_queue) { // NB(directxman12): it's technically more performant here to use preallocated arrays, // but it's a lot of extra work for not a lot of payoff -- if we're using the render queue, |