From eadf460b55f1133943f1bb56025ae0f1b4f4aa52 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Sat, 16 Feb 2013 09:02:23 -0800 Subject: [PATCH] Fix global leaks --- js/id/ui/inspector.js | 1 + js/lib/d3.combobox.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/id/ui/inspector.js b/js/id/ui/inspector.js index 5a2c1df24..50b50c851 100644 --- a/js/id/ui/inspector.js +++ b/js/id/ui/inspector.js @@ -9,6 +9,7 @@ iD.ui.Inspector = function() { presetUI, presetGrid, tagList, + tagEditor, context; function inspector(selection) { diff --git a/js/lib/d3.combobox.js b/js/lib/d3.combobox.js index 0273856d2..d09a0f4fd 100644 --- a/js/lib/d3.combobox.js +++ b/js/lib/d3.combobox.js @@ -29,7 +29,7 @@ d3.combobox = function() { top: rect.height + 'px' }); - carat = selection + selection .insert('a', ':first-child') .attr('class', 'combobox-carat') .style({