diff --git a/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/generate/assets/common/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/lit-ts/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/lit-ts/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/lit-ts/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/lit-ts/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/lit/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/lit/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/lit/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/lit/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/preact-ts/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/preact-ts/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/preact-ts/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/preact-ts/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/preact/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/react-ts/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/react-ts/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/react-ts/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/react-ts/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/react/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/react/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/react/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/react/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte-ts/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte-ts/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte-ts/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte-ts/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/svelte/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla-ts/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla-ts/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla-ts/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla-ts/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/vanilla/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/vue-ts/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/vue-ts/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/vue-ts/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/vue-ts/frontend/wailsjs/runtime/runtime.js @@ -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) { diff --git a/v2/cmd/wails/internal/commands/initialise/templates/templates/vue/frontend/wailsjs/runtime/runtime.js b/v2/cmd/wails/internal/commands/initialise/templates/templates/vue/frontend/wailsjs/runtime/runtime.js index 8f47e62f1f8..7f13df1ac9d 100644 --- a/v2/cmd/wails/internal/commands/initialise/templates/templates/vue/frontend/wailsjs/runtime/runtime.js +++ b/v2/cmd/wails/internal/commands/initialise/templates/templates/vue/frontend/wailsjs/runtime/runtime.js @@ -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) {