about summary refs log tree commit diff
path: root/app/javascript/mastodon/base_polyfills.js
AgeCommit message (Collapse)Author
2023-04-07Remove Array.prototype.includes polyfill (#24234)Nick Schonning
2023-03-23Remove isNaN polyfill (#24224)Nick Schonning
2020-02-18Fix old browsers crashing because of missing `finally` polyfill in web UI ↵ThibG
(#13115) Fix #13015
2018-04-23Refactor resizeImage method (#7236)Yamagishi Kazutoshi
- Use URL.createObjectURL (replace from FileReader) - Use HTMLCanvasElement.prototype.toBlob (replace from HTMLCanvasElement.prototype.toDataURL) - Use Promise (replace callback interface)
2018-03-08Add polyfill for Object.values (#6697)Yamagishi Kazutoshi
2017-10-16Enable ESLint rules import/* (#5414)Yamagishi Kazutoshi
* Enable ESLint rules import/* * fix
2017-05-24Lazy load toots using IntersectionObserver (#3191)Sorin Davidoi
* 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