Rename j_loop to nick_character_loop and j_char to nick_char
authorJack Allnutt <jack@allnutt.eu>
Thu, 26 Sep 2013 19:23:53 +0000 (20:23 +0100)
committerJack Allnutt <jack@allnutt.eu>
Thu, 26 Sep 2013 19:23:53 +0000 (20:23 +0100)
client/assets/src/models/member.js

index f1bc61bdcc9d87c45bdac144cee312ebe32d9b09..588108dce8d05e7f3662eacf0da2a860a6ad3fcf 100644 (file)
@@ -76,17 +76,17 @@ _kiwi.model.Member = Backbone.Model.extend({
         return prefix;\r
     },\r
     stripPrefix: function (nick) {\r
-        var tmp = nick, i, j, k, j_char;\r
+        var tmp = nick, i, j, k, nick_char;\r
         var user_prefixes = _kiwi.gateway.get('user_prefixes');\r
         i = 0;\r
 \r
-        j_loop:\r
+        nick_character_loop:\r
         for (j = 0; j < nick.length; j++) {\r
-            j_char = nick.charAt(j);\r
+            nick_char = nick.charAt(j);\r
             for (k = 0; k < user_prefixes.length; k++) {\r
-                if (j_char === user_prefixes[k].symbol) {\r
+                if (nick_char === user_prefixes[k].symbol) {\r
                     i++;\r
-                    continue j_loop;\r
+                    continue nick_character_loop;\r
                 }\r
             }\r
             break;\r