[Javascript] Remove newly introduced trailing whitespace in flatbuffer.js (#5300)

* Remove newly introduced trailing whitespace in flatbuffer.js

The newly introduced clear function has some trailing white space in an
otherwise whitespace clean file. Remove it.

* Remove spurious new line in the BytesBuffer construction

Another spurious white space introduced by the clear() PR.
This commit is contained in:
Damien Lespiau
2019-04-22 18:10:02 +01:00
committed by Wouter van Oortmerssen
parent 2032b94f61
commit ddb12c0192

View File

@@ -829,7 +829,6 @@ flatbuffers.ByteBuffer = function(bytes) {
* @private
*/
this.position_ = 0;
};
/**
@@ -842,7 +841,7 @@ flatbuffers.ByteBuffer.allocate = function(byte_size) {
return new flatbuffers.ByteBuffer(new Uint8Array(byte_size));
};
flatbuffers.ByteBuffer.prototype.clear = function() {
flatbuffers.ByteBuffer.prototype.clear = function() {
this.position_ = 0;
};