Skip to content

Commit 37c1927

Browse files
committed
chore: bump libraries.
1 parent 1d413d5 commit 37c1927

File tree

9 files changed

+6418
-3721
lines changed

9 files changed

+6418
-3721
lines changed

docs/lib/async.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@
1010
return;
1111
}
1212
this._worker = new window.Worker(workerURI);
13-
this._worker.addEventListener('message', (function(_this) {
14-
return function() {
15-
return _this._asyncEvent.apply(_this, arguments);
16-
};
17-
})(this));
13+
this._worker.addEventListener('message', () => {
14+
return this._asyncEvent(...arguments);
15+
});
1816
return this._asyncCallbacks = {};
1917
},
2018
_asyncEvent: function(e) {

0 commit comments

Comments
 (0)