aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-09-21 16:41:16 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-09-23 14:33:24 -0700
commit5c334014f1bc9cd48dc2d3bfd81184884b74a5a2 (patch)
tree89fb2dbfef9d368e6a5e875e05709019c08bffbd
parentf388628298f260efa1ca4a7d5f87973cc5f06eee (diff)
remove unnecessary filter after tokenizer
-rw-r--r--src/intertyper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index 41967eb9..0f189863 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -988,7 +988,7 @@ function intertyper(lines, sidePass, baseLineNums) {
// Input
- var ret = lineSplitter().map(tokenizer).filter(function(item) { return item }).map(triager).filter(function(result) {
+ var ret = lineSplitter().map(tokenizer).map(triager).filter(function(result) {
if (!result) return false;
if (result.tokens) result.tokens = null; // We do not need tokens, past the intertyper. Clean them up as soon as possible here.
return true;