From 9253e4d2795c7f602e8d8ffc77a36b4032956a1d Mon Sep 17 00:00:00 2001 From: DallonF Date: Mon, 4 Jun 2012 10:24:31 -0700 Subject: [PATCH] Fixed global variable leak --- shell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.js b/shell.js index 035f773..4cf7cb0 100644 --- a/shell.js +++ b/shell.js @@ -991,7 +991,7 @@ function parseOptions(str, map) { // All options are false by default var options = {}; - for (letter in map) + for (var letter in map) options[map[letter]] = false; if (!str)