Add explicit return after for loop

This commit is contained in:
Kevin Sawicki
2015-03-18 15:34:50 -07:00
parent 590a4b0fd5
commit d9a5aff919
4 changed files with 33 additions and 3 deletions

View File

@@ -222,6 +222,7 @@ class TokenizedLine
if @lineEnding? and (index + token.value.length > firstTrailingWhitespaceIndex)
token.firstTrailingWhitespaceIndex = Math.max(0, firstTrailingWhitespaceIndex - index)
index += token.value.length
return
substituteInvisibleCharacters: ->
invisibles = @invisibles
@@ -309,6 +310,8 @@ class TokenizedLine
for j in [i...desiredScopeDescriptor.length]
scopeStack.push(new Scope(desiredScopeDescriptor[j]))
return
class Scope
constructor: (@scope) ->
@children = []