mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +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:
parent
2032b94f61
commit
ddb12c0192
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue