pull/1937/head
Richard Harris 6 years ago
parent 7fbb71a788
commit a7370ce024

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */
import { SvelteComponent as SvelteComponent_1, append, blankObject, createComment, createElement, createText, detachNode, fixAndOutroAndDestroyBlock, fixPosition, flush, init, insert, run, safe_not_equal, setData, updateKeyedEach, wrapAnimation } from "svelte/internal";
import { SvelteComponent as SvelteComponent_1, animate, append, blankObject, createComment, createElement, createText, detachNode, fixAndOutroAndDestroyBlock, fix_position, flush, init, insert, noop, run, safe_not_equal, setData, updateKeyedEach } from "svelte/internal";
function get_each_context(ctx, list, i) {
const child_ctx = Object.create(ctx);
@ -9,7 +9,7 @@ function get_each_context(ctx, list, i) {
// (19:0) {#each things as thing (thing.id)}
function create_each_block(component, key_1, ctx) {
var div, text_value = ctx.thing.name, text, rect, animation;
var div, text_value = ctx.thing.name, text, rect, stop_animation = noop;
return {
key: key_1,
@ -38,13 +38,13 @@ function create_each_block(component, key_1, ctx) {
},
f() {
fixPosition(div);
if (animation) animation.stop();
fix_position(div);
stop_animation();
},
a() {
if (animation) animation.stop();
animation = wrapAnimation(div, rect, foo, {});
stop_animation();
stop_animation = animate(div, rect, foo, {});
},
d(detach) {

Loading…
Cancel
Save