iD.Context -> iD

All the UI setup code moved to iD.ui.
This commit is contained in:
John Firebaugh
2013-02-01 11:36:53 -05:00
parent 579d632563
commit 000ceb6467
9 changed files with 319 additions and 334 deletions
-1
View File
@@ -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>
+1 -1
View File
@@ -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 () {};
+1 -1
View File
@@ -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())