From 1b5c4b6e6deb266756351f43430953e36cd4aa73 Mon Sep 17 00:00:00 2001 From: Richard Harris Date: Mon, 31 Dec 2018 10:43:26 -0500 Subject: [PATCH] fix test, make flip function hoistable --- test/runtime/samples/animation-js-easing/main.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/runtime/samples/animation-js-easing/main.html b/test/runtime/samples/animation-js-easing/main.html index 4d81bd6189..264ff6d9d6 100644 --- a/test/runtime/samples/animation-js-easing/main.html +++ b/test/runtime/samples/animation-js-easing/main.html @@ -2,14 +2,10 @@ import { linear } from './easing.js'; export let things; - let bar = 1; - function flip(node, animation, params) { const dx = animation.from.left - animation.to.left; const dy = animation.from.top - animation.to.top; - bar += 1; - return { duration: 100, easing: linear,