mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Use ? in the conditional.
This commit is contained in:
@@ -144,7 +144,7 @@ GutterComponent = React.createClass
|
||||
innerHTML = @buildLineNumberInnerHTML(bufferRow, softWrapped, maxLineNumberDigits)
|
||||
|
||||
classes = ''
|
||||
if lineDecorations and decorations = lineDecorations[screenRow]
|
||||
if lineDecorations? and decorations = lineDecorations[screenRow]
|
||||
for decoration in decorations
|
||||
if editor.decorationMatchesType(decoration, 'gutter')
|
||||
classes += decoration.class + ' '
|
||||
|
||||
Reference in New Issue
Block a user