Adjust var readability
authorVlad Chernushevich <mailbox@happytodesign.com>
Thu, 20 Jun 2013 21:51:56 +0000 (23:51 +0200)
committerVlad Chernushevich <mailbox@happytodesign.com>
Thu, 20 Jun 2013 21:51:56 +0000 (23:51 +0200)
client/assets/src/views/panel.js

index 6a378820b8a64daff2e0a6a3085b9dfb7fd181d6..5d0644f4669bcf80e4429e5aa85784a052660c20 100644 (file)
@@ -46,7 +46,8 @@ _kiwi.view.Panel = Backbone.View.extend({
     newMsg: function (msg) {
         var template_vars, re, line_msg, $this = this.$el,
             nick_colour_hex, nick_hex, is_highlight, msg_css_classes = '',
-            sb = this.model.get('scrollback'), prev_msg = sb[sb.length-2];
+            sb = this.model.get('scrollback'),
+            prev_msg = sb[sb.length-2];
 
         // Nick highlight detecting
         if ((new RegExp('(^|\\W)(' + escapeRegex(_kiwi.app.connections.active_connection.get('nick')) + ')(\\W|$)', 'i')).test(msg.msg)) {