mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Pass context directly
This commit is contained in:
@@ -4,7 +4,7 @@ describe("iD.ui.Inspector", function () {
|
||||
entity, graph, context;
|
||||
|
||||
function render() {
|
||||
inspector = iD.ui.Inspector().context(context);
|
||||
inspector = iD.ui.Inspector(context);
|
||||
element = d3.select('body')
|
||||
.append('div')
|
||||
.attr('id', 'inspector-wrap')
|
||||
|
||||
Reference in New Issue
Block a user