mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
remove unused argument
This commit is contained in:
parent
f4145099f4
commit
0672e7bae9
@ -296,7 +296,7 @@ export default class EachBlock extends Node {
|
||||
block.builders.update.addBlock(deindent`
|
||||
var ${each_block_value} = ${snippet};
|
||||
|
||||
${blocks} = @updateKeyedEach(${blocks}, #component, ${key}, changed, "${this.key}", ${dynamic}, ${each_block_value}, ${lookup}, ${updateMountNode}, ${String(this.block.hasOutroMethod)}, ${create_each_block}, "${mountOrIntro}", function(#i) {
|
||||
${blocks} = @updateKeyedEach(${blocks}, #component, changed, "${this.key}", ${dynamic}, ${each_block_value}, ${lookup}, ${updateMountNode}, ${String(this.block.hasOutroMethod)}, ${create_each_block}, "${mountOrIntro}", function(#i) {
|
||||
return @assign({}, state, {
|
||||
${this.contextProps.join(',\n')}
|
||||
});
|
||||
|
@ -17,7 +17,7 @@ export function outroAndDestroyIteration(iteration, lookup) {
|
||||
});
|
||||
}
|
||||
|
||||
export function updateKeyedEach(blocks, component, key, changed, key_prop, dynamic, list, lookup, node, has_outro, create_each_block, intro_method, get_context) {
|
||||
export function updateKeyedEach(blocks, component, changed, key_prop, dynamic, list, lookup, node, has_outro, create_each_block, intro_method, get_context) {
|
||||
var old_indexes = {};
|
||||
var i = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user