compat.js 295 B

1234567
  1. if (typeof WebAssembly === "object" && typeof WebAssembly.instantiate === "function") {
  2. console.debug('Compat: WebAssembly is supported');
  3. } else {
  4. console.error('Compat: WebAssembly is NOT supported');
  5. // Show warning
  6. document.querySelector('.compat.wasm').style = 'inherit';
  7. }