mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-01-18 09:28:52 +01:00
Linting
This commit is contained in:
parent
574efa23e7
commit
816c7eddef
@ -107,9 +107,9 @@
|
|||||||
context.oncomplete = function(event){
|
context.oncomplete = function(event){
|
||||||
var chunkTest = new Float32Array(44100);
|
var chunkTest = new Float32Array(44100);
|
||||||
var number = new Float32Array(100);
|
var number = new Float32Array(100);
|
||||||
for (var i = 0; i < 44100; i += number.length){
|
for (var chunkI = 0; chunkI < 44100; chunkI += number.length){
|
||||||
event.renderedBuffer.copyFromChannel(number, 0, i);
|
event.renderedBuffer.copyFromChannel(number, 0, chunkI);
|
||||||
chunkTest.set(number, i);
|
chunkTest.set(number, chunkI);
|
||||||
}
|
}
|
||||||
displayData(chunkTest, setName, "copyFromChannel - chunks");
|
displayData(chunkTest, setName, "copyFromChannel - chunks");
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ var createLog = function(){
|
|||||||
|
|
||||||
var log = createLog();
|
var log = createLog();
|
||||||
|
|
||||||
log("user agent equal between server and client: " + (serverUserAgent === navigator.userAgent));
|
log("user agent equal between server and client: " + (window.serverUserAgent === navigator.userAgent));
|
||||||
|
|
||||||
Object.keys(navigator.__proto__).sort().forEach(function(property){
|
Object.keys(navigator.__proto__).sort().forEach(function(property){
|
||||||
"use strict";
|
"use strict";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user