Pass context directly

This commit is contained in:
John Firebaugh
2013-02-26 17:21:25 -08:00
parent 2b7cba145e
commit 89ee4244ff
8 changed files with 16 additions and 63 deletions
+1 -1
View File
@@ -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')