mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-18 07:48:19 +00:00
1 line
1.3 KiB
Plaintext
1 line
1.3 KiB
Plaintext
|
{"version":3,"sources":["webpack:///app/javascript/builds/pleroma/mastofe/app/javascript/flavours/glitch/util/ready.js","webpack:///app/javascript/builds/pleroma/mastofe/app/javascript/flavours/glitch/packs/error.js"],"names":["ready","loaded","includes","document","readyState","addEventListener","__webpack_require__","r","__webpack_exports__","d","flavours_glitch_util_ready__WEBPACK_IMPORTED_MODULE_0__","image","querySelector","src"],"mappings":"2FAAe,SAASA,EAAMC,GACxB,CAAC,cAAe,YAAYC,SAASC,SAASC,YAChDH,IAEAE,SAASE,iBAAiB,mBAAoBJ,GAJlDK,EAAAC,EAAAC,GAAAF,EAAAG,EAAAD,EAAA,4BAAAR,sCCAAM,EAAAC,EAAAC,GAAA,IAAAE,EAAAJ,EAAA,KAEAN,kBAAM,WACJ,IAAMW,EAAQR,SAASS,cAAc,OAErCD,EAAMN,iBAAiB,aAAc,WACnCM,EAAME,IAAM,cAGdF,EAAMN,iBAAiB,aAAc,WACnCM,EAAME,IAAM","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":""}
|