cburschka / cadence

A strophe.js-powered XMPP web client for chatrooms.
6 stars 2 forks source link

Convert emoticon metadata to YAML #438

Closed cburschka closed 7 years ago

cburschka commented 7 years ago

After #433, this change would aim to do the same to emoticon packs, like originally considered in #112. (Then discarded because of the lack of native support, but there is a well-maintained library we're now depending on.)

The emoticon JSON object would be injected into index.html just like the config. This is roughly 6KB of extra text for the default pack, but the JS file was already local (not CDN), so we're really just saving a request without increasing non-CDN bandwidth.