Add missing javascript semi-colons.
This commit is contained in:
parent
c56a071d0c
commit
f42284ed07
2 changed files with 3 additions and 3 deletions
2
misc/dist/html/editor.html
vendored
2
misc/dist/html/editor.html
vendored
|
@ -320,7 +320,7 @@
|
||||||
throw new Error('Invalid status mode');
|
throw new Error('Invalid status mode');
|
||||||
}
|
}
|
||||||
statusMode = mode;
|
statusMode = mode;
|
||||||
}
|
};
|
||||||
|
|
||||||
function animateStatusIndeterminate(ms) {
|
function animateStatusIndeterminate(ms) {
|
||||||
var i = Math.floor(ms / INDETERMINATE_STATUS_STEP_MS % 8);
|
var i = Math.floor(ms / INDETERMINATE_STATUS_STEP_MS % 8);
|
||||||
|
|
|
@ -45,7 +45,7 @@ class RingBuffer {
|
||||||
|
|
||||||
read(output) {
|
read(output) {
|
||||||
const size = this.buffer.length;
|
const size = this.buffer.length;
|
||||||
let from = 0
|
let from = 0;
|
||||||
let to_write = output.length;
|
let to_write = output.length;
|
||||||
if (this.rpos + to_write > size) {
|
if (this.rpos + to_write > size) {
|
||||||
const high = size - this.rpos;
|
const high = size - this.rpos;
|
||||||
|
@ -150,7 +150,7 @@ class GodotProcessor extends AudioWorkletProcessor {
|
||||||
const output = outputs[0];
|
const output = outputs[0];
|
||||||
const chunk = output[0].length * output.length;
|
const chunk = output[0].length * output.length;
|
||||||
if (this.output_buffer.length != chunk) {
|
if (this.output_buffer.length != chunk) {
|
||||||
this.output_buffer = new Float32Array(chunk)
|
this.output_buffer = new Float32Array(chunk);
|
||||||
}
|
}
|
||||||
if (this.output.data_left() >= chunk) {
|
if (this.output.data_left() >= chunk) {
|
||||||
this.output.read(this.output_buffer);
|
this.output.read(this.output_buffer);
|
||||||
|
|
Loading…
Reference in a new issue