lint compliance

pull/1/head
ansuz 3 years ago
parent b6cc4ef8cf
commit f4e2e505fe

@ -88,7 +88,7 @@ define([
*/ */
var supportsSharedArrayBuffers = function () { var supportsSharedArrayBuffers = function () {
try { try {
return Object.prototype.toString.call(new WebAssembly.Memory({shared: true, initial: 0, maximum: 0}).buffer) === '[object SharedArrayBuffer]'; return Object.prototype.toString.call(new window.WebAssembly.Memory({shared: true, initial: 0, maximum: 0}).buffer) === '[object SharedArrayBuffer]';
} catch (err) { } catch (err) {
console.error(err); console.error(err);
} }

Loading…
Cancel
Save