5
0
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:
Aleksey Polyakov 2022-05-02 15:10:33 +03:00 committed by GitHub
parent 9c7ef2d47c
commit 531d7cfb62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {