Fixed diff_worker not compiling correctly

Closes #41182
This commit is contained in:
Phil Hughes 2017-12-15 20:08:21 +00:00
parent b540b98764
commit df4fe43d73
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F

View file

@ -1,6 +1,7 @@
import { computeDiff } from './diff';
self.addEventListener('message', (e) => {
// eslint-disable-next-line prefer-arrow-callback
self.addEventListener('message', function diffWorker(e) {
const data = e.data;
self.postMessage({