aboutsummaryrefslogtreecommitdiff
path: root/compat/lustre_animation/src/ffi.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'compat/lustre_animation/src/ffi.mjs')
-rw-r--r--compat/lustre_animation/src/ffi.mjs2
1 files changed, 2 insertions, 0 deletions
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