GUACAMOLE-615: Add spaces around operators for consistency with established style.
This commit is contained in:
1 parent
3acd7ce269
commit
38f7b09efb
1 file changed
+2
-2
@@ -164,7 +164,7 @@ Guacamole.Parser = function Parser() {
|
||||
|
||||
// We now have enough data for the element. Parse.
|
||||
var element = buffer.substring(startIndex, elementEnd);
|
||||
var terminator = buffer.substring(elementEnd, elementEnd+1);
|
||||
var terminator = buffer.substring(elementEnd, elementEnd + 1);
|
||||
|
||||
// Add element to array
|
||||
elementBuffer.push(element);
|
||||
@@ -205,7 +205,7 @@ Guacamole.Parser = function Parser() {
|
||||
if (lengthEnd !== -1) {
|
||||
|
||||
// Parse length
|
||||
elementCodepoints = parseInt(buffer.substring(elementEnd+1, lengthEnd));
|
||||
elementCodepoints = parseInt(buffer.substring(elementEnd + 1, lengthEnd));
|
||||
if (isNaN(elementCodepoints))
|
||||
throw new Error('Non-numeric character in element length.');
|
||||
|
||||
|
||||
Reference in new issue
Block a user