Skip to content

Commit

Permalink
fix for #stores binding
Browse files Browse the repository at this point in the history
  • Loading branch information
typhonrt committed Nov 28, 2021
1 parent 1219eb9 commit 4e32989
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions _dist/application/SvelteApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
}

Expand Down
4 changes: 2 additions & 2 deletions _dist/application/legacy/SvelteFormApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
}

Expand Down
4 changes: 2 additions & 2 deletions src/application/SvelteApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
}

Expand Down
4 changes: 2 additions & 2 deletions src/application/legacy/SvelteFormApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
};
}

Expand Down

0 comments on commit 4e32989

Please sign in to comment.