mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 14:38:05 +02:00
Remove unnecessary window parameter to Context
This commit is contained in:
@@ -7,7 +7,7 @@ describe('iD.serviceMapillary', function() {
|
||||
|
||||
|
||||
beforeEach(function() {
|
||||
context = iD.Context(window).assetPath('../dist/');
|
||||
context = iD.Context().assetPath('../dist/');
|
||||
context.projection
|
||||
.scale(667544.214430109) // z14
|
||||
.translate([-116508, 0]) // 10,0
|
||||
|
||||
@@ -18,7 +18,7 @@ describe('iD.serviceOsm', function () {
|
||||
}
|
||||
|
||||
beforeEach(function () {
|
||||
context = iD.Context(window);
|
||||
context = iD.Context();
|
||||
connection = context.connection();
|
||||
connection.switch({ urlroot: 'http://www.openstreetmap.org' });
|
||||
connection.reset();
|
||||
|
||||
Reference in New Issue
Block a user