Remove redundant conditional

This commit is contained in:
Corey Johnson 2013-04-16 14:23:24 -07:00
parent ca49d0714c
commit 3c95fbd72c

View File

@ -108,7 +108,6 @@ class BufferMarker
updatePosition: (position, bufferChange, isHead) ->
{ oldRange, newRange } = bufferChange
return position if oldRange.containsPoint(position, exclusive: true)
return position if not isHead and oldRange.start.isEqual(position)
return position if position.isLessThan(oldRange.end)