mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-30 07:34:07 +02:00
wip
This commit is contained in:
@@ -29,12 +29,8 @@ onmessage = async (event) => {
|
||||
...event.data.options,
|
||||
});
|
||||
|
||||
engine.on('loadingProgress', ({ progress }) => {
|
||||
self.postMessage({ type: 'progress', progress });
|
||||
});
|
||||
|
||||
engine.on('changeEditMode', ({ isEditMode }) => {
|
||||
self.postMessage({ type: 'changeEditMode', isEditMode });
|
||||
engine.on('ev', ({ type, ctx }) => {
|
||||
self.postMessage({ type: 'ev', ev: { type, ctx } });
|
||||
});
|
||||
|
||||
await engine.init();
|
||||
|
||||
Reference in New Issue
Block a user