mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use ? instead of or
This commit is contained in:
@@ -196,7 +196,7 @@ class Cursor
|
||||
if not endOfWordPosition?.isEqual(currentBufferPosition)
|
||||
stop()
|
||||
|
||||
endOfWordPosition or currentBufferPosition
|
||||
endOfWordPosition ? currentBufferPosition
|
||||
|
||||
getBeginningOfNextWordBufferPosition: (options = {}) ->
|
||||
currentBufferPosition = @getBufferPosition()
|
||||
|
||||
Reference in New Issue
Block a user