Simplify inspector function nesting; cleanup

This commit is contained in:
John Firebaugh
2013-01-02 21:16:09 -08:00
parent 2860cc2fcb
commit ec6c74ebcd
3 changed files with 173 additions and 173 deletions
+2
View File
@@ -8,6 +8,8 @@ describe("iD.modes.AddPoint", function () {
controller = iD.Controller(map, history);
container.call(map);
container.append('div')
.attr('class', 'inspector-wrap');
mode = iD.modes.AddPoint();
controller.enter(mode);