d3e0b4bc16
This was previously attempted in [41043], which unfortunately had severe performance issues, the regex it used was fatally slow on long posts. This version now uses an array of all emoji that Twemoji supports, which maintains the accuracy of [41043], while being the same speed or only a few ms slower than the code prior to [41043]. As with [41043], the `grunt precommit:emoji` task detects when `twemoji.js` has changed, and regenerates the array. Props jmdodd for feedback, suggestions, and insults where appropriate. Fixes #35293. 🤞🏻 git-svn-id: https://develop.svn.wordpress.org/trunk@41701 602fd350-edb4-49c9-b593-d223f7449a82 |
||
---|---|---|
src | ||
tests | ||
tools/i18n | ||
.editorconfig | ||
.gitignore | ||
.jshintrc | ||
.travis.yml | ||
Gruntfile.js | ||
jsdoc.conf.json | ||
package.json | ||
phpunit.xml.dist | ||
wp-cli.yml | ||
wp-config-sample.php | ||
wp-tests-config-sample.php |