Remove unnecessary window parameter to Context

This commit is contained in:
Bryan Housel
2016-11-10 15:19:03 -05:00
parent e606f4713f
commit f800e5afbc
25 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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();