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:
@@ -46,6 +46,7 @@ class StylesElement extends HTMLElement
|
||||
@styleElementRemoved(child) for child in Array::slice.call(@children)
|
||||
@context = @getAttribute('context')
|
||||
@styleElementAdded(styleElement) for styleElement in atom.styles.getStyleElements()
|
||||
return
|
||||
|
||||
styleElementAdded: (styleElement) ->
|
||||
return unless @styleElementMatchesContext(styleElement)
|
||||
|
||||
Reference in New Issue
Block a user