diff --git a/components/bytebuffer/dist/ByteBufferAB.js b/components/bytebuffer/dist/ByteBufferAB.js index 22663b780..7168997a2 100644 --- a/components/bytebuffer/dist/ByteBufferAB.js +++ b/components/bytebuffer/dist/ByteBufferAB.js @@ -116,7 +116,7 @@ * @const * @expose */ - ByteBuffer.VERSION = "3.5.3"; + ByteBuffer.VERSION = "3.5.4"; /** * Little endian constant that can be used instead of its boolean value. Evaluates to `true`. @@ -2136,11 +2136,10 @@ if (begin < 0 || begin > end || end > this.buffer.byteLength) throw RangeError("Illegal range: 0 <= "+begin+" <= "+end+" <= "+this.buffer.byteLength); } - if (begin >= end) return this; // Nothing to fill + if (begin >= end) + return this; // Nothing to fill while (begin < end) this.view.setUint8(begin++, value); - if (relative) { - this.offset = begin; - } + if (relative) this.offset = begin; return this; }; diff --git a/js/components.js b/js/components.js index a8e1660eb..f728ee602 100644 --- a/js/components.js +++ b/js/components.js @@ -10265,7 +10265,7 @@ return jQuery; * @const * @expose */ - ByteBuffer.VERSION = "3.5.3"; + ByteBuffer.VERSION = "3.5.4"; /** * Little endian constant that can be used instead of its boolean value. Evaluates to `true`. @@ -12285,11 +12285,10 @@ return jQuery; if (begin < 0 || begin > end || end > this.buffer.byteLength) throw RangeError("Illegal range: 0 <= "+begin+" <= "+end+" <= "+this.buffer.byteLength); } - if (begin >= end) return this; // Nothing to fill + if (begin >= end) + return this; // Nothing to fill while (begin < end) this.view.setUint8(begin++, value); - if (relative) { - this.offset = begin; - } + if (relative) this.offset = begin; return this; };