From 4e329899c0baa1e4ab533ef12196b2e2b3a9f98b Mon Sep 17 00:00:00 2001 From: typhonrt Date: Sun, 28 Nov 2021 13:31:19 -0800 Subject: [PATCH] fix for #stores binding --- _dist/application/SvelteApplication.js | 4 ++-- _dist/application/legacy/SvelteFormApplication.js | 4 ++-- src/application/SvelteApplication.js | 4 ++-- src/application/legacy/SvelteFormApplication.js | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_dist/application/SvelteApplication.js b/_dist/application/SvelteApplication.js index 9972547e..d98c86a3 100644 --- a/_dist/application/SvelteApplication.js +++ b/_dist/application/SvelteApplication.js @@ -854,8 +854,8 @@ class SvelteReactive return { appOptionsUpdate: this.#storeAppOptionsUpdate, uiOptionsUpdate: this.#storeUIOptionsUpdate, - subscribe: this.#storesSubscribe, - unsubscribe: this.#storesUnsubscribe + subscribe: this.#storesSubscribe.bind(this), + unsubscribe: this.#storesUnsubscribe.bind(this) }; } diff --git a/_dist/application/legacy/SvelteFormApplication.js b/_dist/application/legacy/SvelteFormApplication.js index 3d9356b5..79473616 100644 --- a/_dist/application/legacy/SvelteFormApplication.js +++ b/_dist/application/legacy/SvelteFormApplication.js @@ -855,8 +855,8 @@ class SvelteReactive return { appOptionsUpdate: this.#storeAppOptionsUpdate, uiOptionsUpdate: this.#storeUIOptionsUpdate, - subscribe: this.#storesSubscribe, - unsubscribe: this.#storesUnsubscribe + subscribe: this.#storesSubscribe.bind(this), + unsubscribe: this.#storesUnsubscribe.bind(this) }; } diff --git a/src/application/SvelteApplication.js b/src/application/SvelteApplication.js index 9972547e..d98c86a3 100644 --- a/src/application/SvelteApplication.js +++ b/src/application/SvelteApplication.js @@ -854,8 +854,8 @@ class SvelteReactive return { appOptionsUpdate: this.#storeAppOptionsUpdate, uiOptionsUpdate: this.#storeUIOptionsUpdate, - subscribe: this.#storesSubscribe, - unsubscribe: this.#storesUnsubscribe + subscribe: this.#storesSubscribe.bind(this), + unsubscribe: this.#storesUnsubscribe.bind(this) }; } diff --git a/src/application/legacy/SvelteFormApplication.js b/src/application/legacy/SvelteFormApplication.js index 3d9356b5..79473616 100644 --- a/src/application/legacy/SvelteFormApplication.js +++ b/src/application/legacy/SvelteFormApplication.js @@ -855,8 +855,8 @@ class SvelteReactive return { appOptionsUpdate: this.#storeAppOptionsUpdate, uiOptionsUpdate: this.#storeUIOptionsUpdate, - subscribe: this.#storesSubscribe, - unsubscribe: this.#storesUnsubscribe + subscribe: this.#storesSubscribe.bind(this), + unsubscribe: this.#storesUnsubscribe.bind(this) }; }