From 80c066b03b3576d4d1232afe64ec762db08ed8a1 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 15 May 2012 10:12:56 -0700 Subject: [PATCH] The test for tabs in a token was totally wrong. Now it is totally right. --- src/app/token.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/token.coffee b/src/app/token.coffee index 2e2d89f66..e581ba773 100644 --- a/src/app/token.coffee +++ b/src/app/token.coffee @@ -17,7 +17,7 @@ class Token [new Token(value: value1, type: @type), new Token(value: value2, type: @type)] breakOutTabCharacters: (tabText) -> - return [this] unless /\t/.test(tabText) + return [this] unless /\t/.test(@value) for substring in @value.match(/([^\t]+|\t)/g) if substring == '\t'