mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add explicit return after for loop
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user