Added styles support, fixed messages with no author, removed JQuery dep

This commit is contained in:
Jonas Dellinger
2017-05-26 00:51:34 +02:00
parent e750bbfac1
commit afa0b5bab2
6 changed files with 40 additions and 12 deletions

View File

@@ -1,9 +1,11 @@
// DO NOT EDIT THIS FILE
// Copy it to `config.js` and edit it
window.CONFIG = {
defaultTemplateId: 'default', //This template will be used for normal chat messages
defaultTemplateId: 'default', //This is the default template for 2 args1
defaultAltTemplateId: 'defaultAlt', //This one for 1 arg
templates: { //You can add static templates here
'default': '<b>{0}</b>: {1}',
'defaultAlt': '{0}',
'example:important': '<h1>^2{0}</h1>'
},
fadeTimeout: 7000,