From 34622a8a5adc3ea2b4def1d4f8f26aee5dccdef5 Mon Sep 17 00:00:00 2001 From: Rich-Harris Date: Sun, 16 Apr 2017 20:44:00 -0400 Subject: [PATCH] tidy up --- src/generators/dom/visitors/Component/Binding.js | 2 +- src/generators/dom/visitors/Element/Binding.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generators/dom/visitors/Component/Binding.js b/src/generators/dom/visitors/Component/Binding.js index b435b064bc..f4b86425ec 100644 --- a/src/generators/dom/visitors/Component/Binding.js +++ b/src/generators/dom/visitors/Component/Binding.js @@ -35,7 +35,7 @@ export default function visitBinding ( generator, block, state, node, attribute, prop }); - const setter = getSetter({ generator, block, name, keypath, context: '_context', attribute, dependencies, value: 'value' }); + const setter = getSetter({ block, name, keypath, context: '_context', attribute, dependencies, value: 'value' }); generator.hasComplexBindings = true; diff --git a/src/generators/dom/visitors/Element/Binding.js b/src/generators/dom/visitors/Element/Binding.js index c7da63c32b..c9e2c66cbe 100644 --- a/src/generators/dom/visitors/Element/Binding.js +++ b/src/generators/dom/visitors/Element/Binding.js @@ -21,7 +21,7 @@ export default function visitBinding ( generator, block, state, node, attribute const value = getBindingValue( generator, block, state, node, attribute, isMultipleSelect, bindingGroup, type ); const eventName = getBindingEventName( node ); - let setter = getSetter({ generator, block, name, keypath, context: '_svelte', attribute, dependencies, value }); + let setter = getSetter({ block, name, keypath, context: '_svelte', attribute, dependencies, value }); let updateElement; //