akkoma/priv/static/packs/flavours/glitch/error.js.map
FloatingGhost 0d012ebea1 Revert "Merge branch 'remove/mastofe' into 'develop'"
This reverts commit 6b3842cf50, reversing
changes made to 6b1282a829.
2022-01-08 21:44:37 +00:00

1 line
No EOL
1.2 KiB
Text

{"version":3,"sources":["webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/ready.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/packs/error.js"],"names":["ready","loaded","includes","document","readyState","addEventListener","image","querySelector","src"],"mappings":"2FAAe,SAASA,EAAMC,GACxB,CAAC,cAAe,YAAYC,SAASC,SAASC,YAChDH,IAEAE,SAASE,iBAAiB,mBAAoBJ,GAJlD,gD,iCCAA,oBAEAD,mBAAM,WACJ,IAAMM,EAAQH,SAASI,cAAc,OAErCD,EAAMD,iBAAiB,cAAc,WACnCC,EAAME,IAAM,eAGdF,EAAMD,iBAAiB,cAAc,WACnCC,EAAME,IAAM,oB","file":"flavours/glitch/error.js","sourcesContent":["export default function ready(loaded) {\n if (['interactive', 'complete'].includes(document.readyState)) {\n loaded();\n } else {\n document.addEventListener('DOMContentLoaded', loaded);\n }\n}\n","import ready from 'flavours/glitch/util/ready';\n\nready(() => {\n const image = document.querySelector('img');\n\n image.addEventListener('mouseenter', () => {\n image.src = '/oops.gif';\n });\n\n image.addEventListener('mouseleave', () => {\n image.src = '/oops.png';\n });\n});\n"],"sourceRoot":""}