Merge pull request #3335 from jellyfin/fix-blurhash-worker-webos

This commit is contained in:
Bill Thornton
2022-01-14 23:20:32 -05:00
committed by GitHub
4 changed files with 52 additions and 2 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
import Worker from './blurhash.worker.ts'; // eslint-disable-line import/default
import * as lazyLoader from '../lazyLoader/lazyLoaderIntersectionObserver';
import * as userSettings from '../../scripts/settings/userSettings';
import './style.scss';
// eslint-disable-next-line compat/compat
const worker = new Worker(new URL('./blurhash.worker.ts', import.meta.url));
const worker = new Worker();
const targetDic = {};
worker.addEventListener(
'message',