diff options
| author | Julie Lala <jules@okfoc.us> | 2014-04-22 03:22:56 -0400 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-04-22 03:22:56 -0400 |
| commit | 62ee4fecc35772670b092b220cb29c7aa7b58b50 (patch) | |
| tree | ef0dfc47977dc10c30bc6b20377d02e2b88e3891 /assets/javascripts/rectangles/map/ui.js | |
| parent | 7d73354432c714fffa47563d0424cc51964238d3 (diff) | |
keyboard, stones demo
Diffstat (limited to 'assets/javascripts/rectangles/map/ui.js')
| -rw-r--r-- | assets/javascripts/rectangles/map/ui.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/assets/javascripts/rectangles/map/ui.js b/assets/javascripts/rectangles/map/ui.js index 129ec90..10496e3 100644 --- a/assets/javascripts/rectangles/map/ui.js +++ b/assets/javascripts/rectangles/map/ui.js @@ -2,12 +2,11 @@ map.ui = new function(){ var base = this - base.el = document.querySelector("#map") base.creating = base.dragging = false base.mouse = new mouse({ - el: base.el, + el: map.el, down: down, move: move, drag: drag, @@ -16,7 +15,7 @@ map.ui = new function(){ }) base.wheel = new wheel({ - el: base.el, + el: map.el, update: mousewheel, }) |
