Mailspring/internal_packages/composer-emoji/lib
Ben Gotow 8613921a55 fix(emoji): Re-use img tag to avoid running out of file descriptors
Summary:
On my machine the new emoji picker was causing "too many open file descriptor"
errors. I think that this was because it was creating 1300 image tags in 50msec.

I refactored this code so that it uses a single image tag and only loads one image
at a time. This could make it slower on some people's machines, but eliminates the
possibility of it breaking the app!

Test Plan: Run tests

Reviewers: jackie

Differential Revision: https://phab.nylas.com/D2878
2016-04-12 14:29:59 -07:00
..
categorized-emoji.js fix(emoji): Re-use img tag to avoid running out of file descriptors 2016-04-12 14:29:59 -07:00
emoji-actions.js feat(composer-emoji): Add emoji button to composer 2016-03-24 10:45:48 -07:00
emoji-button-popover.jsx fix(emoji): Re-use img tag to avoid running out of file descriptors 2016-04-12 14:29:59 -07:00
emoji-button.jsx fix(focus): Remove focusedField in favor of imperative focus, break apart ComposerView 2016-04-04 15:22:01 -07:00
emoji-composer-extension.jsx fix(composer-emoji): Switch to characters to PNGs (#1898) 2016-04-12 10:27:24 -07:00
emoji-data.js fix(composer-emoji): Switch to characters to PNGs (#1898) 2016-04-12 10:27:24 -07:00
emoji-message-extension.jsx fix(composer-emoji): Switch to characters to PNGs (#1898) 2016-04-12 10:27:24 -07:00
emoji-picker.jsx fix(composer-emoji): Switch to characters to PNGs (#1898) 2016-04-12 10:27:24 -07:00
emoji-store.jsx fix(composer-emoji): Switch to characters to PNGs (#1898) 2016-04-12 10:27:24 -07:00
main.js feat(composer-emoji): Add emoji button to composer 2016-03-24 10:45:48 -07:00