1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 12:36:37 +02:00

Typos and linting

This commit is contained in:
kkapsner 2018-08-22 22:16:49 +02:00
parent f873bd84e5
commit 4a043b2c78
16 changed files with 101 additions and 75 deletions

View file

@ -39,11 +39,11 @@
// Start audio processing
pxi_oscillator.start(0);
context.startRendering();
context.oncomplete = function(evnt) {
context.oncomplete = function(event) {
var str = "";
var copyTest = new Float32Array(44100);
evnt.renderedBuffer.copyFromChannel(copyTest, 0);
var getTest = evnt.renderedBuffer.getChannelData(0);
event.renderedBuffer.copyFromChannel(copyTest, 0);
var getTest = event.renderedBuffer.getChannelData(0);
Promise.all([
crypto.subtle.digest("SHA-256", getTest),
crypto.subtle.digest("SHA-256", copyTest),