From 6ff2b2a01efc94936478fc180c8ae9120bc83ef7 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 29 Apr 2014 17:24:16 -0600 Subject: [PATCH] Fix undefined variables in tokenized-line-spec --- spec/tokenized-line-spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/tokenized-line-spec.coffee b/spec/tokenized-line-spec.coffee index cd0e1e497..8548922e9 100644 --- a/spec/tokenized-line-spec.coffee +++ b/spec/tokenized-line-spec.coffee @@ -6,7 +6,7 @@ describe "TokenizedLine", -> describe "::getScopeTree()", -> it "returns a tree whose inner nodes are scopes and whose leaf nodes are tokens in those scopes", -> - editor = null + [tokens, tokenIndex] = [] ensureValidScopeTree = (scopeTree, scopes=[]) -> if scopeTree.children?