Mailspring/internal_packages/composer-emoji/lib
Ben Gotow 370edc40e9 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
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
emoji-composer-extension.jsx
emoji-data.js
emoji-message-extension.jsx
emoji-picker.jsx
emoji-store.jsx
main.js