summaryrefslogtreecommitdiff
path: root/assets/javascripts/rectangles/map/_map.js
diff options
context:
space:
mode:
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 d8fdc79..bd8995c 100644
--- a/assets/javascripts/rectangles/map/_map.js
+++ b/assets/javascripts/rectangles/map/_map.js
@@ -16,7 +16,7 @@ var map = new function(){
var h = window.h = canvas.height = 500
document.querySelector("#map").appendChild(canvas)
- base.animate = function(){
+ base.update = function(){
base.draw.animate()
}