Commit ddb12c01 authored by Damien Lespiau's avatar Damien Lespiau Committed by Wouter van Oortmerssen

[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.
parent 2032b94f
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment