lib/html/source/javascripts/websocket.coffee in flammarion-0.0.13 vs lib/html/source/javascripts/websocket.coffee in flammarion-0.0.14

- old
+ new

@@ -73,9 +73,11 @@ text = text.replace(/:[\w-]+:/g, (match) -> "<i class='fa fa-#{match[1..-2]}'></i>") if options.escape_icons return text add: (object, target, data) -> + if data.style + object.css(key, val) for own key, val of data.style if data.replace target.html(object) else target.append(object)