mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-02 05:01:38 +02:00
Require init() call before coreContext starts doing things
(closes #7304)
This commit is contained in:
@@ -11,9 +11,9 @@ describe('iD.modeAddNote', function() {
|
||||
|
||||
beforeEach(function() {
|
||||
var container = d3.select(document.createElement('div'));
|
||||
|
||||
context = iD.coreContext()
|
||||
.container(container);
|
||||
.container(container)
|
||||
.init();
|
||||
|
||||
context.loadTiles = function () {};
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@ describe.skip('iD.modeAddPoint', function() {
|
||||
var container = d3.select(document.createElement('div'));
|
||||
|
||||
context = iD.coreContext()
|
||||
.container(container);
|
||||
.container(container)
|
||||
.init();
|
||||
|
||||
context.loadTiles = function () {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user