mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-03 13:38:04 +02:00
Namespace UI components
This commit is contained in:
@@ -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