summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/map/_map.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-04-25 16:08:48 -0400
committerJules Laplace <jules@okfoc.us>2014-04-25 16:08:48 -0400
commit1b06bfa4b67747229c3283a9466047b1daece035 (patch)
treecd889dd15463324be0c03aaa96bca6eeaf89052e /assets/javascripts/rectangles/map/_map.js
parent0772bb5e55d0d00c925620a27b59a7f52aaa4199 (diff)
improve names
Diffstat (limited to 'assets/javascripts/rectangles/map/_map.js')
-rw-r--r--assets/javascripts/rectangles/map/_map.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/javascripts/rectangles/map/_map.js b/assets/javascripts/rectangles/map/_map.js
index e612c98..53084bb 100644
--- a/assets/javascripts/rectangles/map/_map.js
+++ b/assets/javascripts/rectangles/map/_map.js
@@ -12,7 +12,7 @@ var map = new function(){
base.sides = function(){
var sides = base.bounds.clone().div(2).div(base.zoom)
- return new rect( base.center.a - sides.a, -base.center.b - sides.b,
+ return new Rect( base.center.a - sides.a, -base.center.b - sides.b,
base.center.a + sides.a, -base.center.b + sides.b )
}