From 03bb43014f40b4918a0ee7573d6cc3058b1e68a9 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Thu, 26 Sep 2013 20:23:53 +0100 Subject: [PATCH] Rename j_loop to nick_character_loop and j_char to nick_char --- client/assets/src/models/member.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/assets/src/models/member.js b/client/assets/src/models/member.js index f1bc61b..588108d 100644 --- a/client/assets/src/models/member.js +++ b/client/assets/src/models/member.js @@ -76,17 +76,17 @@ _kiwi.model.Member = Backbone.Model.extend({ return prefix; }, stripPrefix: function (nick) { - var tmp = nick, i, j, k, j_char; + var tmp = nick, i, j, k, nick_char; var user_prefixes = _kiwi.gateway.get('user_prefixes'); i = 0; - j_loop: + nick_character_loop: for (j = 0; j < nick.length; j++) { - j_char = nick.charAt(j); + nick_char = nick.charAt(j); for (k = 0; k < user_prefixes.length; k++) { - if (j_char === user_prefixes[k].symbol) { + if (nick_char === user_prefixes[k].symbol) { i++; - continue j_loop; + continue nick_character_loop; } } break; -- 2.25.1