mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 16:49:40 +02:00
iD.Context -> iD
All the UI setup code moved to iD.ui.
This commit is contained in:
@@ -119,7 +119,6 @@
|
||||
<script src='../js/id/graph/way.js'></script>
|
||||
|
||||
<script src='../js/id/connection.js'></script>
|
||||
<script src='../js/id/context.js'></script>
|
||||
<script src='../js/id/controller.js'></script>
|
||||
|
||||
<script src='../locale/locale.js'></script>
|
||||
|
||||
@@ -4,7 +4,7 @@ describe("iD.behavior.Hash", function () {
|
||||
var hash, context;
|
||||
|
||||
beforeEach(function () {
|
||||
context = iD.Context();
|
||||
context = iD();
|
||||
|
||||
// Neuter connection
|
||||
context.connection().loadTiles = function () {};
|
||||
|
||||
@@ -4,7 +4,7 @@ describe("iD.modes.AddPoint", function () {
|
||||
beforeEach(function () {
|
||||
var container = d3.select(document.createElement('div'));
|
||||
|
||||
context = iD.Context()
|
||||
context = iD()
|
||||
.container(container);
|
||||
|
||||
container.call(context.map())
|
||||
|
||||
Reference in New Issue
Block a user