5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-19 02:19:31 +08:00

Tidy up events runtime

This commit is contained in:
Lea Anthony 2020-10-20 06:45:21 +11:00
parent 6fdf088531
commit fb88eadb58
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -11,7 +11,7 @@ The lightweight framework for web-like apps
import * as Log from './log';
import * as Browser from './browser';
import * as Window from './window';
import { On, OnMultiple, Emit, Notify, Heartbeat, Acknowledge } from './events';
import { On, Once, OnMultiple, Emit, Notify } from './events';
import { Callback, SystemCall } from './calls';
import { AddScript, InjectCSS } from './utils';
import { AddIPCListener } from 'ipc';
@ -30,17 +30,16 @@ export function Init() {
Window,
Events: {
On,
Once,
OnMultiple,
Emit,
Heartbeat,
Acknowledge,
},
_: {
Callback,
Notify,
AddScript,
InjectCSS,
Init,
// Init,
AddIPCListener,
SystemCall,
},