From 6a3d62e57c82342fcbf4f2dac5887da3416e7ac5 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 28 Aug 2013 10:08:12 -0700 Subject: [PATCH] Fix tests --- js/id/renderer/map.js | 2 +- test/index.html | 2 +- test/spec/actions/merge_polygon.js | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/js/id/renderer/map.js b/js/id/renderer/map.js index 7fa2ff6cc..d8e81824c 100644 --- a/js/id/renderer/map.js +++ b/js/id/renderer/map.js @@ -254,7 +254,7 @@ iD.Map = function(context) { } map.mouse = function() { - var e = mousemove, s; + var e = mousemove || d3.event, s; while (s = e.sourceEvent) e = s; return mouse(e); }; diff --git a/test/index.html b/test/index.html index 0952836ce..ff9c9d143 100644 --- a/test/index.html +++ b/test/index.html @@ -155,7 +155,7 @@ - + diff --git a/test/spec/actions/merge_polygon.js b/test/spec/actions/merge_polygon.js index e5819d50c..9da988ee5 100644 --- a/test/spec/actions/merge_polygon.js +++ b/test/spec/actions/merge_polygon.js @@ -120,7 +120,6 @@ describe("iD.actions.MergePolygon", function () { }); it("extends a multipolygon with multi-way rings", function() { - console.log('start'); var r = iD.Relation({ id: 'r', tags: { type: 'multipolygon' }, members: [ { type: 'way', role: 'outer', id: 'w0' }, { type: 'way', role: 'inner', id: 'w3' },