From 9176e12f5866385eec2af98735f0e468507a0358 Mon Sep 17 00:00:00 2001 From: probablycorey Date: Wed, 29 Jan 2014 13:20:54 -0800 Subject: [PATCH] Actually fix the method name bug For real this time --- src/pane-container-view.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pane-container-view.coffee b/src/pane-container-view.coffee index 8f84be5be..c80cbf9ba 100644 --- a/src/pane-container-view.coffee +++ b/src/pane-container-view.coffee @@ -112,7 +112,7 @@ class PaneContainerView extends View @nearestPaneInDirection('right')?.focus() nearestPaneInDirection: (direction) -> - distance: (pointA, pointB) -> + distance = (pointA, pointB) -> x = pointB.x - pointA.x y = pointB.y - pointA.y Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2))