From 88cbef43a9bc00eed9587a3bd74d2de824943432 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sun, 19 Aug 2018 19:22:31 -0400 Subject: [PATCH] Clean up --- moo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moo.js b/moo.js index 64ffc33..335d5c0 100644 --- a/moo.js +++ b/moo.js @@ -278,8 +278,7 @@ } for (var k = 0; k < newRules.length; k++) { var newRule = newRules[k] - var l = rules.indexOf(newRule) - if (l !== -1) continue + if (rules.indexOf(newRule) !== -1) continue splice.push(newRule) } }