From: Vlad Chernushevich Date: Thu, 20 Jun 2013 21:51:56 +0000 (+0200) Subject: Adjust var readability X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cae65fd4b5b6eb2dcd6a2b805751563df2b341ee;p=KiwiIRC.git Adjust var readability --- diff --git a/client/assets/src/views/panel.js b/client/assets/src/views/panel.js index 6a37882..5d0644f 100644 --- a/client/assets/src/views/panel.js +++ b/client/assets/src/views/panel.js @@ -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)) {