mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
Namespace UI components
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
<script src="../js/id/svg/tag_classes.js"></script>
|
||||
<script src="../js/id/svg/vertices.js"></script>
|
||||
|
||||
<script src='../js/id/ui.js'></script>
|
||||
<script src='../js/id/ui/inspector.js'></script>
|
||||
<script src='../js/id/ui/commit.js'></script>
|
||||
<script src='../js/id/ui/loading.js'></script>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
describe("Geocoder", function () {
|
||||
describe("iD.ui.geocoder", function () {
|
||||
it('can be instantiated', function () {
|
||||
var geocoder = iD.geocoder();
|
||||
var geocoder = iD.ui.geocoder();
|
||||
expect(geocoder).to.be.ok;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
describe("iD.Inspector", function () {
|
||||
describe("iD.ui.inspector", function () {
|
||||
var inspector, element,
|
||||
tags = {highway: 'residential'},
|
||||
entity;
|
||||
|
||||
function render() {
|
||||
inspector = iD.Inspector();
|
||||
inspector = iD.ui.inspector();
|
||||
element = d3.select('body')
|
||||
.append('div')
|
||||
.attr('id', 'inspector-wrap')
|
||||
|
||||
Reference in New Issue
Block a user