fix test, make flip function hoistable

pull/1935/head
Richard Harris 7 years ago
parent 3dc06ddafc
commit 1b5c4b6e6d

@ -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,

Loading…
Cancel
Save