update test

pull/3540/head
Richard Harris 5 years ago
parent 6f60ed8871
commit 670fadf260

2
package-lock.json generated

@ -1,6 +1,6 @@
{
"name": "svelte",
"version": "3.9.2",
"version": "3.10.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

@ -10,6 +10,7 @@ import {
noop,
safe_not_equal,
set_data,
set_input_value,
space,
text
} from "svelte/internal";
@ -32,7 +33,7 @@ function create_fragment(ctx) {
insert(target, t1, anchor);
insert(target, input, anchor);
input.value = ctx.foo;
set_input_value(input, ctx.foo);
},
p(changed, ctx) {
@ -40,7 +41,7 @@ function create_fragment(ctx) {
set_data(t0, ctx.foo);
}
if (changed.foo && (input.value !== ctx.foo)) input.value = ctx.foo;
if (changed.foo && (input.value !== ctx.foo)) set_input_value(input, ctx.foo);
},
i: noop,

Loading…
Cancel
Save