From 21d59712dd56909293b3804b1d89320216f6906a Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Wed, 23 Aug 2023 22:59:02 +0100 Subject: :ambulance: Update third-party lustre_animation package to new api. --- compat/lustre_animation/src/ffi.mjs | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 compat/lustre_animation/src/ffi.mjs (limited to 'compat/lustre_animation/src/ffi.mjs') diff --git a/compat/lustre_animation/src/ffi.mjs b/compat/lustre_animation/src/ffi.mjs new file mode 100644 index 0000000..fd5d9d3 --- /dev/null +++ b/compat/lustre_animation/src/ffi.mjs @@ -0,0 +1,2 @@ +export const request_animation_frame = f => requestAnimationFrame(f) +export const cancel_animation_frame = id => cancelAnimationFrame(id) \ No newline at end of file -- cgit v1.2.3