Permalink
Browse files

Blegh.

  • Loading branch information...
1 parent 8b70c72 commit 956e05c301ee7e88b1e7f57a3e77b11d6b067739 @tmcw tmcw committed May 24, 2011
Showing with 2 additions and 4 deletions.
  1. +1 −3 build/wax.mm.js
  2. +1 −1 build/wax.mm.min.js
View
@@ -1127,10 +1127,7 @@ wax.pointselector = function(map, opts) {
this.overlayDiv.style.width = map.dimensions.x + 'px';
this.overlayDiv.style.height = map.dimensions.y + 'px';
map.parent.appendChild(this.overlayDiv);
- alert(pointselector.mouseDown);
- alert(map.parent);
MM.addEvent(map.parent, 'mousedown', pointselector.mouseDown);
- console.log('added');
map.addCallback('drawn', pointselector.drawPoints);
return this;
},
@@ -1167,6 +1164,7 @@ wax.pointselector = function(map, opts) {
}
},
mouseDown: function(e) {
+ console.log('creating point');
mouseDownPoint = makePoint(e);
MM.addEvent(map.parent, 'mouseup', pointselector.mouseUp);
},
Oops, something went wrong.

0 comments on commit 956e05c

Please sign in to comment.