mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-01 14:53:56 +00:00
[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:
committed by
Wouter van Oortmerssen
parent
2032b94f61
commit
ddb12c0192
@@ -829,7 +829,6 @@ flatbuffers.ByteBuffer = function(bytes) {
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
this.position_ = 0;
|
this.position_ = 0;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -842,7 +841,7 @@ flatbuffers.ByteBuffer.allocate = function(byte_size) {
|
|||||||
return new flatbuffers.ByteBuffer(new Uint8Array(byte_size));
|
return new flatbuffers.ByteBuffer(new Uint8Array(byte_size));
|
||||||
};
|
};
|
||||||
|
|
||||||
flatbuffers.ByteBuffer.prototype.clear = function() {
|
flatbuffers.ByteBuffer.prototype.clear = function() {
|
||||||
this.position_ = 0;
|
this.position_ = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user