From 1a71e0407905a8f023794fedd752c8e0eec06d2f Mon Sep 17 00:00:00 2001 From: Tan Li Hau Date: Thu, 25 Jun 2020 20:33:30 +0800 Subject: [PATCH] fix bind:this, skip checking before adding to binding_callbacks (#5072) --- CHANGELOG.md | 1 + .../render_dom/wrappers/shared/bind_this.ts | 3 +- .../_config.js | 53 +++++++++++++++++++ .../main.svelte | 17 ++++++ 4 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 test/runtime/samples/binding-this-each-block-property-2/_config.js create mode 100644 test/runtime/samples/binding-this-each-block-property-2/main.svelte diff --git a/CHANGELOG.md b/CHANGELOG.md index 9650d9e0d6..8457cd120b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * Do not display `a11y-missing-content` warning on elements with `contenteditable` bindings ([#5020](https://github.com/sveltejs/svelte/issues/5020)) * Fix handling of `this` in inline function expressions in the template ([#5033](https://github.com/sveltejs/svelte/issues/5033)) * Update `