Remove unused subtract method in point (it did not behave correctly)

This commit is contained in:
Corey Johnson
2012-10-29 13:10:38 -07:00
parent c8c581dfd0
commit 51b2871e02

View File

@@ -26,16 +26,6 @@ class Point
new Point(row, column)
subtract: (other) ->
other = Point.fromObject(other)
row = @row - other.row
if @row == other.row
column = @column - other.column
else
column = @column
new Point(row, column)
splitAt: (column) ->
if @row == 0
rightColumn = @column - column