aboutsummaryrefslogtreecommitdiff
path: root/compat/lustre_animation/test/info.mjs
diff options
context:
space:
mode:
authorHayleigh Thompson <me@hayleigh.dev>2023-08-23 22:59:02 +0100
committerHayleigh Thompson <me@hayleigh.dev>2023-08-23 22:59:02 +0100
commit21d59712dd56909293b3804b1d89320216f6906a (patch)
tree06300d54c0e5c2804f80167967c40f5371011401 /compat/lustre_animation/test/info.mjs
parent83962575c255cc3b58677d18262a1d7b18e8239d (diff)
downloadlustre-21d59712dd56909293b3804b1d89320216f6906a.tar.gz
lustre-21d59712dd56909293b3804b1d89320216f6906a.zip
:ambulance: Update third-party lustre_animation package to new api.
Diffstat (limited to 'compat/lustre_animation/test/info.mjs')
-rw-r--r--compat/lustre_animation/test/info.mjs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/lustre_animation/test/info.mjs b/compat/lustre_animation/test/info.mjs
new file mode 100644
index 0000000..d58e440
--- /dev/null
+++ b/compat/lustre_animation/test/info.mjs
@@ -0,0 +1,2 @@
+export const bounding_client_rect = id => document.getElementById(id).getBoundingClientRect()
+