This website requires JavaScript.
Explore
Help
Register
Sign In
treehouse
/
mastodon
Watch
22
Star
8
Fork
You've already forked mastodon
5
Code
Issues
32
Pull Requests
Projects
1
Releases
Wiki
Activity
3237eb3759
mastodon
/
app
/
javascript
/
flavours
/
glitch
/
extra_polyfills.js
3 lines
100 B
JavaScript
Raw
Normal View
History
Unescape
Escape
[Glitch] Replace `CancelToken` to `AbortSignal` Port 4266397139f1df5a1ffd53a25b7acb6bce4dbdd6 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-14 01:16:37 +00:00
import
'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'
;
Lazy load toots using IntersectionObserver (#3191) * refactor(components/status_list): Lazy load using IntersectionObserver * refactor(components/status_list): Avoid setState bottleneck * refactor(components/status_list): Update state correctly * fix(components/status): Render if isIntersecting is undefined * refactor(components/status): Recycle timeout * refactor(components/status): Reduce animation duration * refactor(components/status): Use requestIdleCallback * chore: Split polyfill bundles * refactor(components/status_list): Increase rootMargin to 300% * fix(components/status): Check if onRef is not defined * chore: Add note about polyfill bundle splitting * fix(components/status): Reduce animation duration to 0.3 seconds
2017-05-24 15:55:00 +00:00
import
'requestidlecallback'
;