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

@ -1,5 +1,5 @@
/* generated by Svelte vX.Y.Z */ /* 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) { function get_each_context(ctx, list, i) {
const child_ctx = Object.create(ctx); 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)} // (19:0) {#each things as thing (thing.id)}
function create_each_block(component, key_1, ctx) { 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 { return {
key: key_1, key: key_1,
@ -38,13 +38,13 @@ function create_each_block(component, key_1, ctx) {
}, },
f() { f() {
fixPosition(div); fix_position(div);
if (animation) animation.stop(); stop_animation();
}, },
a() { a() {
if (animation) animation.stop(); stop_animation();
animation = wrapAnimation(div, rect, foo, {}); stop_animation = animate(div, rect, foo, {});
}, },
d(detach) { d(detach) {

Loading…
Cancel
Save