use constants for message strings

This commit is contained in:
Ginger Wong
2020-07-19 16:14:38 -07:00
parent b66a80f11e
commit eb699f9790
2 changed files with 6 additions and 5 deletions

View File

@@ -55,6 +55,10 @@ const TEMP_IMAGE = 'data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALA
const MESSAGE_OFFLINE = 'Stream is offline.';
const MESSAGE_ONLINE = 'Stream is online';
const CHAT_INITIAL_PLACEHOLDER_TEXT = 'Type here to chat, no account necessary.';
const CHAT_PLACEHOLDER_TEXT = 'Message';
const CHAT_PLACEHOLDER_OFFLINE = 'Chat is offline.';
function getLocalStorage(key) {
try {