mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Fix tests
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
+1
-1
@@ -155,7 +155,7 @@
|
||||
<script src='../js/id/modes/select.js'></script>
|
||||
|
||||
<script src='../js/id/operations.js'></script>
|
||||
<script src='../js/id/operations/operations.js'></script>
|
||||
<script src='../js/id/operations/continue.js'></script>
|
||||
<script src='../js/id/operations/circularize.js'></script>
|
||||
<script src='../js/id/operations/orthogonalize.js'></script>
|
||||
<script src='../js/id/operations/delete.js'></script>
|
||||
|
||||
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user