From 3c95fbd72c30474457f0a9e17a4286a641d3ec95 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 16 Apr 2013 14:23:24 -0700 Subject: [PATCH] Remove redundant conditional --- src/app/buffer-marker.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/buffer-marker.coffee b/src/app/buffer-marker.coffee index 0decc7e4f..87b305155 100644 --- a/src/app/buffer-marker.coffee +++ b/src/app/buffer-marker.coffee @@ -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)