mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 20:51:38 +08:00
replace OnMultiple with EventsOnMultiple (#1369)
This commit is contained in:
parent
9c7ef2d47c
commit
531d7cfb62
@ -41,7 +41,7 @@ export function EventsOnMultiple(eventName, callback, maxCallbacks) {
|
||||
}
|
||||
|
||||
export function EventsOn(eventName, callback) {
|
||||
OnMultiple(eventName, callback, -1);
|
||||
EventsOnMultiple(eventName, callback, -1);
|
||||
}
|
||||
|
||||
export function EventsOff(eventName) {
|
||||
@ -49,7 +49,7 @@ export function EventsOff(eventName) {
|
||||
}
|
||||
|
||||
export function EventsOnce(eventName, callback) {
|
||||
OnMultiple(eventName, callback, 1);
|
||||
EventsOnMultiple(eventName, callback, 1);
|
||||
}
|
||||
|
||||
export function EventsEmit(eventName) {
|
||||
|
Loading…
Reference in New Issue
Block a user