Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan authored and tjvr committed Sep 16, 2018
1 parent 9e1b458 commit 88cbef4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions moo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 88cbef4

Please sign in to comment.